Skip to content

Commit

Permalink
Merge pull request #5 from ShuZhong/master
Browse files Browse the repository at this point in the history
Add typings file for typescript
  • Loading branch information
simov committed Dec 30, 2017
2 parents 7ddd499 + 2c04e8d commit 5fc16a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.d.ts
@@ -0,0 +1,3 @@
declare function dcopy<T>(arg: T): T

export default dcopy
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -22,6 +22,7 @@
"mocha": "^3.2.0"
},
"main": "index.js",
"typings": "index.d.ts",
"files": [
"LICENSE",
"README.md",
Expand Down

0 comments on commit 5fc16a8

Please sign in to comment.