summaryrefslogtreecommitdiff
path: root/src/@types
diff options
context:
space:
mode:
authorAcid Chicken (硫酸鶏) <root@acid-chicken.com>2019-02-02 00:16:27 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-02-02 00:16:27 +0900
commitda1a238be3b6ae3f870d266ca7b8ae1ad888838d (patch)
tree36c840c6d59508acd73a518430b0bb2f638e59e1 /src/@types
parentFix #3871 (#4082) (diff)
downloadsharkey-da1a238be3b6ae3f870d266ca7b8ae1ad888838d.tar.gz
sharkey-da1a238be3b6ae3f870d266ca7b8ae1ad888838d.tar.bz2
sharkey-da1a238be3b6ae3f870d266ca7b8ae1ad888838d.zip
Create new type definition for 'ms' (#4057)
* Create new type definition for 'ms' * Follow lint
Diffstat (limited to 'src/@types')
-rw-r--r--src/@types/ms.d.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/@types/ms.d.ts b/src/@types/ms.d.ts
new file mode 100644
index 0000000000..2f0156d104
--- /dev/null
+++ b/src/@types/ms.d.ts
@@ -0,0 +1,12 @@
+declare module 'ms' {
+ interface IMSOptions {
+ long: boolean;
+ }
+
+ function ms(value: string): number;
+ function ms(value: number, options?: IMSOptions): string;
+
+ namespace ms {} // Hack
+
+ export = ms;
+}