mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-26 07:36:44 -06: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;
|
|
}
|