Skip to content

Commit

Permalink
Merge branch 'look-at-this-typings'
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Feb 25, 2018
2 parents 9d2c6e1 + 92d78b0 commit 1384ab4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions index.d.ts
@@ -0,0 +1,4 @@
declare module 'fast-deep-equal' {
const equal: (a: any, b: any) => boolean;
export = equal;
}
10 changes: 7 additions & 3 deletions package.json
Expand Up @@ -7,7 +7,8 @@
"eslint": "eslint *.js benchmark spec",
"test-spec": "mocha spec/*.spec.js -R spec",
"test-cov": "nyc npm run test-spec",
"test": "npm run eslint && npm run test-cov"
"test-ts": "tsc --target ES5 --noImplicitAny index.d.ts",
"test": "npm run eslint && npm run test-ts && npm run test-cov"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -36,6 +37,7 @@
"nyc": "^11.0.2",
"pre-commit": "^1.2.2",
"shallow-equal-fuzzy": "0.0.2",
"typescript": "^2.6.1",
"underscore": "^1.8.3"
},
"nyc": {
Expand All @@ -49,6 +51,8 @@
]
},
"files": [
"index.js"
]
"index.js",
"index.d.ts"
],
"types": "index.d.ts"
}

0 comments on commit 1384ab4

Please sign in to comment.