UNPKG

@tsdotnet/stopwatch

Version:

A stopwatch class with lap timing and easy to use static methods. Useful for diagnostics.

17 lines (12 loc) 241 B
/*! * @author electricessence / https://github.com/electricessence/ * @license MIT */ export default interface Timer { readonly isRunning: boolean; start (): void; stop (): void; reset (): void; // eslint-disable-next-line semi }