diff --git a/packages/docusaurus-tsconfig/tsconfig.json b/packages/docusaurus-tsconfig/tsconfig.json index 7597f6de821a..d7dca8ef2a9c 100644 --- a/packages/docusaurus-tsconfig/tsconfig.json +++ b/packages/docusaurus-tsconfig/tsconfig.json @@ -6,7 +6,8 @@ "allowJs": true, "esModuleInterop": true, "jsx": "preserve", - "lib": ["DOM"], + "target": "ES2022", + "lib": ["ES2022", "DOM"], "moduleResolution": "bundler", "module": "esnext", "noEmit": true,