diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..8e9034b --- /dev/null +++ b/index.d.ts @@ -0,0 +1,3 @@ +declare function dcopy(arg: T): T + +export default dcopy \ No newline at end of file diff --git a/package.json b/package.json index e555e40..a8ee868 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "mocha": "^3.2.0" }, "main": "index.js", + "typings": "index.d.ts", "files": [ "LICENSE", "README.md",