Skip to content

Commit

Permalink
fix: publish TypeScript typings in "files" attribute and reference th…
Browse files Browse the repository at this point in the history
…em in package.json "typings" attribute (#60)

* Create index.d.ts

typings for TS

* Update index.d.ts

* Update package.json
  • Loading branch information
vincentbriglia authored and keithamus committed Mar 26, 2019
1 parent 00c348f commit 89820d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@
"license": "MIT",
"author": "Keith Cirkel <npm@keithcirkel.co.uk> (http://keithcirkel.co.uk/)",
"files": [
"index.js"
"index.js",
"index.d.ts"
],
"main": "index.js",
"types": "index.d.ts",
"bin": "index.js",
"scripts": {
"semantic-release": "semantic-release",
Expand Down

0 comments on commit 89820d2

Please sign in to comment.