ide-typescript icon indicating copy to clipboard operation
ide-typescript copied to clipboard

Doesn't seem to support tsconfig inheritance

Open Eugeny opened this issue 8 years ago • 4 comments

It seems that ide-typescript ignores the extends clause in tsconfig.json as if there were no tsconfig at all - i.e., I have my compilerOptions.lib set in the parent tsconfig.json and the child tsconfig.json extends from it, but Atom starts warning me about the missing lib option and so on. Obviously, just building the project with tsc works.

Eugeny avatar Oct 20 '17 19:10 Eugeny

Do you run tsc from the parent folder and it builds both correctly?

Or is it necessary to run tsc at the child level?

damieng avatar Feb 20 '18 18:02 damieng

tsc works on both levels

Eugeny avatar Feb 20 '18 19:02 Eugeny

After adjusting extends to be relative to baseUrl it seems that the lib option gets picked up, but not paths

Eugeny avatar Feb 20 '18 19:02 Eugeny

@Eugeny good to know, although that should not be necessary. According to the docs,

All relative paths found in the configuration file will be resolved relative to the configuration file they originated in.

aryzing avatar Apr 13 '18 20:04 aryzing