mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-24 08:03:09 +02:00
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;
|
|
}
|