Explorar el Código

fix typeRoots

see: https://github.com/microsoft/TypeScript/issues/54629#issuecomment-1589593147
Yuki Takei hace 2 años
padre
commit
f91e5c06de
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tsconfig.base.json

+ 1 - 1
tsconfig.base.json

@@ -26,7 +26,7 @@
     /* Module Resolution Options */
     "moduleResolution": "node",
     "typeRoots": [
-      "./node_modules/@types"
+      "./node_modules/@types", "./node_modules"
     ],
     "allowSyntheticDefaultImports": true,
     "esModuleInterop": true,