From cac028cf656835a1427d09fa69d4bd7440537e0f Mon Sep 17 00:00:00 2001 From: Lipraty Date: Sat, 8 Jun 2024 15:37:42 +0800 Subject: [PATCH] fix: use of `types` differs from the specification --- tsconfig.base.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tsconfig.base.json b/tsconfig.base.json index a998642..ef228e5 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1,14 +1,15 @@ { "compilerOptions": { "target": "es2022", - "module": "commonjs", + "module": "esnext", "sourceMap": true, "declaration": true, "composite": true, "incremental": true, "skipLibCheck": true, "esModuleInterop": true, - "moduleResolution": "node", + "emitDeclarationOnly": true, + "moduleResolution": "bundler", "strictBindCallApply": true, "jsx": "react-jsx", "jsxImportSource": "@satorijs/element", @@ -17,4 +18,4 @@ "yml-register/types", ], }, -} \ No newline at end of file +}