UNPKG

@bitcobblers/wod-wiki-library

Version:

A specialized markdown-like workout syntax editor and runtime for defining workouts

9 lines (8 loc) 384 B
import { ICodeStatement } from '../../../CodeStatement'; import { TimerFragment } from '../../../fragments/TimerFragment'; /** * Extracts the first duration fragment from a statement node * @param node The statement node to extract from * @returns The first duration fragment or undefined if none exists */ export declare function getTimer(node: ICodeStatement): TimerFragment[];