Point to the declaration file
"version": "0.1.2",
"main": "dist/index.node.js",
"browser": "dist/index.web.js",
+ "types": "dist/index.d.ts",
"scripts": {
"prepublishOnly": "script/build",
"test": "mocha --ui=tdd test"
