diff --git a/package-lock.json b/package-lock.json index 9aa87ee..42a36f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", diff --git a/package.json b/package.json index fc7b5bb..c4185c0 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "ts-loader": "^7.0.0", "typescript": "^3.8.3", "web-ext": "^4.2.0", + "web-ext-types": "^3.2.1", "webpack": "^4.42.1", "webpack-cli": "^3.3.11", "webpack-dev-server": "^3.10.3" diff --git a/tsconfig.json b/tsconfig.json index 08a0819..5aed9fb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,6 +6,7 @@ "sourceMap": true, "noLib": false, "jsx": "react", + "typeRoots": ["node_modules/@types", "node_modules/web-ext-types"], }, "exclude": [ "node_modules"