mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
fix interface name
This commit is contained in:
Vendored
+1
-5
@@ -5,10 +5,6 @@
|
||||
|
||||
declare module 'ms' {
|
||||
|
||||
interface IMSOptions {
|
||||
long: boolean
|
||||
}
|
||||
|
||||
/**
|
||||
* Short/Long format for `value`.
|
||||
*
|
||||
@@ -16,7 +12,7 @@ declare module 'ms' {
|
||||
* @param {{long: boolean}} options
|
||||
* @return {String}
|
||||
*/
|
||||
function ms(value: number, options?: IMSOptions): string;
|
||||
function ms(value: number, options?: { long: boolean }): string;
|
||||
|
||||
/**
|
||||
* Parse the given `value` and return milliseconds.
|
||||
|
||||
Reference in New Issue
Block a user