UNPKG

@bitcobblers/wod-wiki-library

Version:

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

17 lines (16 loc) 564 B
import { ITimerRuntime } from '../../ITimerRuntime'; import { IRuntimeBlock } from '../../IRuntimeBlock'; import { LeafNodeAction } from './base/LeafNodeAction'; /** * Action that completes a timer for the current block */ export declare class CompleteTimerAction extends LeafNodeAction { name: string; /** * Apply the complete timer action to a specific block * * @param runtime The timer runtime * @param block The block to apply the action to */ protected applyBlock(runtime: ITimerRuntime, block: IRuntimeBlock): void; }