Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Doesn't seem to support tsconfig inheritance #56

Open
Eugeny opened this issue Oct 20, 2017 · 4 comments
Open

Doesn't seem to support tsconfig inheritance #56

Eugeny opened this issue Oct 20, 2017 · 4 comments

Comments

@Eugeny
Copy link

Eugeny commented Oct 20, 2017

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.

@damieng
Copy link
Contributor

damieng commented Feb 20, 2018

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

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

@Eugeny
Copy link
Author

Eugeny commented Feb 20, 2018

tsc works on both levels

@Eugeny
Copy link
Author

Eugeny commented Feb 20, 2018

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

@aryzing
Copy link

aryzing commented Apr 13, 2018

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants