// Type definitions for precise // Project: https://www.npmjs.org/package/precise // Definitions by: Peter Harris // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /** * Precise factory */ declare function _precise(): _precise.Precise; declare module _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;