mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
331 B
TypeScript
12 lines
331 B
TypeScript
// Type definitions for parse-duration 0.1
|
|
// Project: https://github.com/jkroso/parse-duration#readme
|
|
// Definitions by: Richard Simko <https://github.com/richardsimko>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/**
|
|
* convert `str` to ms
|
|
*/
|
|
declare function parse(str: string): number;
|
|
|
|
export = parse;
|