UNPKG
@motorcycle/types
Version:
latest (3.0.0)
3.0.0
2.1.0
2.0.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.0
A shared-kernel of types for Motorcycle
github.com/motorcyclets/motorcycle
motorcyclets/motorcycle
@motorcycle/types
/
lib.es2015
/
Timer.d.ts
13 lines
(12 loc)
•
251 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
/**
*
A Timer interface
*
@name Timer
*
@example
*
export interface Timer {
*
now(): Time;
*
setTimer(f: () => any, delayTime: Delay): Handle;
*
clearTimer(timerHandle: Handle): void;
*
}
*
@type
*/ export { Timer } from '@most/types';