Skip to content

tsconfig.json extend #30701

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hilleer opened this issue Apr 2, 2019 · 1 comment
Closed

tsconfig.json extend #30701

hilleer opened this issue Apr 2, 2019 · 1 comment

Comments

@hilleer
Copy link

hilleer commented Apr 2, 2019

TypeScript Version: 3.4.1

Search Terms:

  • tsconfig extending npm package
  • tsconfig extend node_modules
  • tsconfig node_modules
  • tsconfig extend resolve

Code

tsconfig.json

{
   "extends": "@my-team/tsconfig-base"
}

Expected behavior:

It resolves the package and extends the contents of it.

Actual behavior:

It can't find the file. Instead of looking in <...projectLocation>/project/node_modules/@my-team/tsconfig-base it looks for <...projectLocation>/project/@my-team/tsconfig-base.

Related issue: #18865

@hilleer
Copy link
Author

hilleer commented Apr 2, 2019

It seem like the issue has been resolved.

I am not sure how or when, so cannot share a lot. If I find any information regarding what was wrong and how to solve it, I will share it here in case anyone gets the same error.

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

No branches or pull requests

1 participant