mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
465 B
TypeScript
17 lines
465 B
TypeScript
// Type definitions for human-interval 1.0
|
|
// Project: https://github.com/agenda/human-interval#readme
|
|
// Definitions by: Paul Melnikow <https://github.com/paulmelnikow>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare function humanInterval(time?: string): number | undefined;
|
|
|
|
declare namespace humanInterval {
|
|
interface LanguageMap {
|
|
[s: string]: number;
|
|
}
|
|
|
|
let languageMap: LanguageMap;
|
|
}
|
|
|
|
export = humanInterval;
|