Skip to content

Commit 5de4832

Browse files
authored
fix(tsconfig): add @docusaurus/tsconfig target es2022 (#10547)
1 parent 7f6472a commit 5de4832

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/docusaurus-tsconfig/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"allowJs": true,
77
"esModuleInterop": true,
88
"jsx": "preserve",
9-
"lib": ["DOM"],
9+
"target": "ES2022",
10+
"lib": ["ES2022", "DOM"],
1011
"moduleResolution": "bundler",
1112
"module": "esnext",
1213
"noEmit": true,

0 commit comments

Comments
 (0)