// Type definitions for time-span 2.0 // Project: https://github.com/sindresorhus/time-span#readme // Definitions by: BendingBender // Mike Dvorscak // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace timeSpan { interface TimeSpanObject { (): number; rounded(): number; sec(): number; nano(): number; } } declare function timeSpan(): timeSpan.TimeSpanObject; export = timeSpan;