Urara-Blog/node_modules/.pnpm-store/v3/files/6a/2e7d4bb2d6d5a1626760e2b5cde45cc500ccb489cd69e2569c96e204a5cff72c90c7bb6325967af160c17cc8f9795f8b0852cafd47814cbf8284cf4ce5230d
2022-08-14 01:14:53 +08:00

25 lines
561 B
Text

// Type definitions for ms v0.7.1
// Project: https://github.com/zeit/ms
// Definitions by: Zhiyuan Wang <https://github.com/danny8002>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* Short/Long format for `value`.
*
* @param {Number} value
* @param {{long: boolean}} options
* @return {String}
*/
declare function ms(value: number, options?: { long: boolean }): string;
/**
* Parse the given `value` and return milliseconds.
*
* @param {String} value
* @return {Number}
*/
declare function ms(value: string): number;
export = ms;