Add types in package.json (#1415)
The package can not be imported into TS project without this option. [docs](https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html#including-declarations-in-your-npm-package)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
"version": "1.0.6",
|
||||
"description": "Library for KernelSU's module WebUI",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"scripts": {
|
||||
"test": "npm run test"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user