فهرست منبع

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,