diff --git a/tsconfig.json b/tsconfig.json index 01e09f86..d7d867d8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,14 +3,14 @@ "esModuleInterop": true, "exactOptionalPropertyTypes": true, "forceConsistentCasingInFileNames": true, - "lib": ["ES2020", "dom"], + "lib": ["ES2022", "dom"], "module": "nodenext", "moduleResolution": "nodenext", "noEmit": true, "noErrorTruncation": true, "noUncheckedIndexedAccess": true, "strict": true, - "target": "es2020" + "target": "es2022" }, "exclude": ["./dist/**/*"] }