Files
Andy Hanson 89fa98a712 WIP
WIP

WIP

WIP

WIP

WIP

WIP: Remove trailing newlines

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP: All tests pass

WIP

WIP

WIP
2016-11-28 11:16:06 -08:00

34 lines
653 B
TypeScript

// Type definitions for precise
// Project: https://www.npmjs.org/package/precise
// Definitions by: Peter Harris <https://github.com/codeanimal>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* Precise factory
*/
declare function _precise(): _precise.Precise;
declare namespace _precise {
class Precise {
constructor();
/**
* Starts a timer
*/
start(): Precise;
/**
* Stops a timer
*/
stop(): Precise;
/**
* Returns the nanoseconds from `start()` to `stop()`
*/
diff(): number;
}
}
export = _precise;