fix interface name

This commit is contained in:
Zhiyuan Wang
2015-11-04 07:18:29 +08:00
parent 1d8c76aa15
commit a60d9aa424
2 changed files with 4 additions and 12 deletions
Vendored
+1 -5
View File
@@ -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.