Skip to content

Commit

Permalink
typescript support
Browse files Browse the repository at this point in the history
  • Loading branch information
chuv committed Dec 22, 2017
1 parent 27e4d14 commit da4727e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions index.d.ts
@@ -0,0 +1,2 @@
declare const format : (mask: string, value: number) => string;
export = format;
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -31,11 +31,13 @@
"currency" "currency"
], ],
"files": [ "files": [
"lib/" "lib/",
"index.d.ts"
], ],
"scripts": { "scripts": {
"test": "grunt test" "test": "grunt test"
}, },
"typings": "./index.d.ts",
"devDependencies": { "devDependencies": {
"grunt": "^1.0.1", "grunt": "^1.0.1",
"grunt-cli": "^1.2.0", "grunt-cli": "^1.2.0",
Expand Down

0 comments on commit da4727e

Please sign in to comment.