Improve type-compiler handing of extends
field in tsconfig
#600
Labels
enhancement
New feature or request
extends
field in tsconfig
#600
TLDR : when "extends" is an array in tsconfig, type-compiler crashes.
While using deepkit vite plugin like that
// vite.config.ts
// tsconfig.json
deepkit-framework/packages/type-compiler/src/config.ts
Line 289 in 1e0d489
Will crash with
TypeError: The "path" argument must be of type string. Received an instance of Array
According to https://www.typescriptlang.org/tsconfig/#extends it's supposed to be a string.
According to the tsconfig-schema.json and the "intellisense" like highlight in my IDE, it can be array | string.
The text was updated successfully, but these errors were encountered: