From 5de4832fb2376e73289de29bdec4bfe3e81e2454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lorber?= Date: Thu, 3 Oct 2024 15:28:01 +0200 Subject: [PATCH] fix(tsconfig): add `@docusaurus/tsconfig` target es2022 (#10547) --- packages/docusaurus-tsconfig/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,