Explorar el Código

chore: 设置tsconfig esModuleInterop选项

vian hace 5 años
padre
commit
7443e6c3d3
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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",