-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
Typescript 5.0 now supports combining TSConfigs using array syntax in extends
Error log:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Array
Occurred while linting G:\gits\NutchapolSal\musicbot\botCacheInit.js:1
Rule: "import/namespace"
at new NodeError (node:internal/errors:393:5)
at validateString (node:internal/validators:163:11)
at Object.join (node:path:429:7)
at loadTsconfig (G:\gits\NutchapolSal\musicbot\node_modules\tsconfig-paths\lib\tsconfig-loader.js:93:39)
at loadSyncDefault (G:\gits\NutchapolSal\musicbot\node_modules\tsconfig-paths\lib\tsconfig-loader.js:40:18)
at tsConfigLoader (G:\gits\NutchapolSal\musicbot\node_modules\tsconfig-paths\lib\tsconfig-loader.js:26:22)
at readTsConfig (G:\gits\NutchapolSal\musicbot\node_modules\eslint-plugin-import\lib\ExportMap.js:804:521)
at isEsModuleInterop (G:\gits\NutchapolSal\musicbot\node_modules\eslint-plugin-import\lib\ExportMap.js:806:277)
at ExportMap.parse (G:\gits\NutchapolSal\musicbot\node_modules\eslint-plugin-import\lib\ExportMap.js:798:233)
at ExportMap.for (G:\gits\NutchapolSal\musicbot\node_modules\eslint-plugin-import\lib\ExportMap.js:797:201)
This also effects import/namespace
, import/named
, import/default
, import/no-named-as-default
, and import/no-named-as-default-member
.
eranhirsch, polyipseity, WoodyWoodsta, thenbe, mlippert and 13 more
Metadata
Metadata
Assignees
Labels
No labels