From 205422576eb8480317e0d1677064415be33d6942 Mon Sep 17 00:00:00 2001 From: dimaslanjaka Date: Wed, 14 Feb 2024 22:41:19 +0700 Subject: [PATCH] add module lib `ES2020` which already have modern built-in string/number/object/etc prototypes --- tsconfig.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index c2b1773..00f0103 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,9 +6,8 @@ "outDir": "dist", "declaration": true, "esModuleInterop": true, - "types": [ - "node" - ] + "lib": ["ES2020", "ES6"], + "moduleResolution": "Node" }, "include": [ "lib/front_matter.ts"