Skip to content

Commit

Permalink
Include DOM lib in types (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante authored Apr 11, 2021
1 parent a753b37 commit 3189d78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"target": "ES2019", // Node.js 12
"lib": [
"ES2019",
"ES2020.String"
"ES2020.String",
"DOM"
],
"moduleResolution": "node",
"allowSyntheticDefaultImports": true, // To provide backwards compatibility, Node.js allows you to import most CommonJS packages with a default import. This flag tells TypeScript that it's okay to use import on CommonJS modules.
Expand Down

0 comments on commit 3189d78

Please sign in to comment.