diff --git a/package.json b/package.json index 4b7eaa1..4d61432 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "dist/" ], "main": "./dist/uni-socket.io.js", + "types": "./types/index.d.ts", "scripts": { "prepublishOnly": "rm -rf ./dist && npm run build", "build-dev": "webpack --config webpack.config.dev.js --watch", @@ -48,4 +49,4 @@ }, "homepage": "https://github.com/AspenLuoQiang/hyoga-uni-socket.io", "license": "MIT" -} \ No newline at end of file +}