From 9bff878778641be71bb6be36ed8284d70f806cb8 Mon Sep 17 00:00:00 2001 From: Ankio Date: Wed, 1 Nov 2023 10:47:06 +0800 Subject: [PATCH] fix: compilation errors --- tsconfig.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 17300d0..b6e1a6b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,9 +7,10 @@ "strict": true, /* Enable all strict type-checking options. */ "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ - "lib": [ "ES2021.String" ] /* Enable custom `ES2021.String` extension in typescript for `replaceAll` */ + "lib": [ "ES2021.String","dom", "esnext" ] /* Enable custom `ES2021.String` extension in typescript for `replaceAll` */ }, "exclude": ["node_modules", "**/*.test.ts", "src/pr-collector" - ] + ], + }