sharkey/src/@types/ms.d.ts

13 lines
206 B
TypeScript
Raw Normal View History

declare module 'ms' {
interface IMSOptions {
long: boolean;
}
function ms(value: string): number;
function ms(value: number, options?: IMSOptions): string;
namespace ms {} // Hack
export = ms;
}