Skip to content

Commit

Permalink
Make TypeScript accepts some more Node.js 18 features
Browse files Browse the repository at this point in the history
Node.js 18 seems to support some ES2023 features too.
  • Loading branch information
sindresorhus committed Nov 6, 2023
1 parent d73468a commit 28854d4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
"extends": "@sindresorhus/tsconfig",
"compilerOptions": {
"outDir": "build",
"lib": [
"DOM",
"DOM.Iterable",
"ES2023"
],
"sourceMap": true,
"jsx": "react",
"isolatedModules": true
Expand Down

0 comments on commit 28854d4

Please sign in to comment.