Skip to content

Commit

Permalink
remove DOM types from tsconfig.json
Browse files Browse the repository at this point in the history
it was there to avoid emitting .d.ts with <reference>s to the DOM
types, but now that microsoft/TypeScript#57681 is merged, this can
be gone, meaning finally stuff like `navigator` isn't defined
  • Loading branch information
chearon committed Dec 31, 2024
1 parent 993d44e commit b6c232f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outDir": "dist",
"declaration": true,
"customConditions": ["buildtime"],
"lib": ["esnext", "dom"],
"lib": ["esnext"],
"target": "esnext",
"module": "node16",
"strict": true,
Expand Down

0 comments on commit b6c232f

Please sign in to comment.