You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the intended behavior; if you didn't want to copy down the parent types, you'd have no way of expressing that, whereas today you can at least write what you mean. It'd be a fairly large breaking change in build system to change this now, especially since there'd be no workaround apart from editing the upstream config file (which you'd have no way of tracking down the child dependencies of).
@RyanCavanaugh sorry for posting here again, but I also stumbled over this behavior. Wouldn't it make sense to point this out in the documentation then? What else is excluded from inheritance then, is there a document list?
Bug Report
π Search Terms
extends
tsconfig
types
compilerOptions
Cannot find module
or its corresponding type declarations
svelte
π Version & Regression Information
β― Playground Link
Repository with relevant code
π» Code
MCVE: https://github.com/tholewebgods/typescript-extend-not-deep-clone-mcve
π Actual behavior
The compiler does not load modules of a specific type configured via
extends
config when root config also specifiestypes
.π Expected behavior
When extending from configs
types
shall be merged.The text was updated successfully, but these errors were encountered: