added types for extrension api

This commit is contained in:
Niklas 2020-04-25 02:08:39 +02:00
parent d15b3ee22b
commit 981c2f0832
3 changed files with 8 additions and 0 deletions

6
package-lock.json generated
View File

@ -12552,6 +12552,12 @@
} }
} }
}, },
"web-ext-types": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/web-ext-types/-/web-ext-types-3.2.1.tgz",
"integrity": "sha512-oQZYDU3W8X867h8Jmt3129kRVKklz70db40Y6OzoTTuzOJpF/dB2KULJUf0txVPyUUXuyzV8GmT3nVvRHoG+Ew==",
"dev": true
},
"webidl-conversions": { "webidl-conversions": {
"version": "5.0.0", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz",

View File

@ -31,6 +31,7 @@
"ts-loader": "^7.0.0", "ts-loader": "^7.0.0",
"typescript": "^3.8.3", "typescript": "^3.8.3",
"web-ext": "^4.2.0", "web-ext": "^4.2.0",
"web-ext-types": "^3.2.1",
"webpack": "^4.42.1", "webpack": "^4.42.1",
"webpack-cli": "^3.3.11", "webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3" "webpack-dev-server": "^3.10.3"

View File

@ -6,6 +6,7 @@
"sourceMap": true, "sourceMap": true,
"noLib": false, "noLib": false,
"jsx": "react", "jsx": "react",
"typeRoots": ["node_modules/@types", "node_modules/web-ext-types"],
}, },
"exclude": [ "exclude": [
"node_modules" "node_modules"