浏览代码

chore: 设置tsconfig esModuleInterop选项

vian 5 年之前
父节点
当前提交
7443e6c3d3
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      tsconfig.json

+ 2 - 1
tsconfig.json

@@ -4,7 +4,8 @@
     "module": "ESNext",
     "declaration": true,
     "outDir": "./",
-    "strict": true
+    "strict": true,
+    "esModuleInterop": true,
   },
   "include": [
     "src/**/*.ts",