Преглед изворни кода

fix typeRoots

see: https://github.com/microsoft/TypeScript/issues/54629#issuecomment-1589593147
Yuki Takei пре 2 година
родитељ
комит
f91e5c06de
1 измењених фајлова са 1 додато и 1 уклоњено
  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,