Skip to content

Commit

Permalink
Add typescript typings for Firefox web extensions apis
Browse files Browse the repository at this point in the history
  • Loading branch information
motin committed Oct 2, 2018
1 parent 80e3dec commit 743d765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
},
"dependencies": {},
"devDependencies": {
"@types/firefox-webext-browser": "^63.0.0",
"ava": "1.0.0-beta.7",
"codecov": "^3.1.0",
"commitizen": "^2.10.1",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
// "emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */,

"lib": ["es2017", "dom"],
"types": [],
"types": ["firefox-webext-browser"],
"typeRoots": ["node_modules/@types", "src/types"]
},
"include": ["src/**/*.ts"],
Expand Down

0 comments on commit 743d765

Please sign in to comment.