da1a238be3
* Create new type definition for 'ms' * Follow lint
12 lines
206 B
TypeScript
12 lines
206 B
TypeScript
declare module 'ms' {
|
|
interface IMSOptions {
|
|
long: boolean;
|
|
}
|
|
|
|
function ms(value: string): number;
|
|
function ms(value: number, options?: IMSOptions): string;
|
|
|
|
namespace ms {} // Hack
|
|
|
|
export = ms;
|
|
}
|