Skip to content

Commit

Permalink
Add DOM in tsconfig's lib option to enable usage of 'document' for web
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejkustra committed Jun 19, 2023
1 parent e5f39ee commit a29cdd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"module": "commonjs",
"types": ["react-native", "jest"],
"lib": [
"DOM",
"es2019",
"es2020.bigint",
"es2020.date",
Expand Down

0 comments on commit a29cdd3

Please sign in to comment.