Просмотр исходного кода

fix typeRoots

see: https://github.com/microsoft/TypeScript/issues/54629#issuecomment-1589593147
Yuki Takei 2 лет назад
Родитель
Сommit
f91e5c06de
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tsconfig.base.json

+ 1 - 1
tsconfig.base.json

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