Suggestion: add excludeTypeRoots to tsconfig · Issue #18588 · microsoft/TypeScript (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
TypeScript Version: 2.4.0 / nightly (2.5.0-dev.201xxxxx)
2.5.2
It's a old issue that haven't resolve yet.
Resubmit this for old ones are closed.
Case
- Used many declaration in node_modules/@types
@types/node
bring some compile error (it is a frontend project, but@types/node
is a dependency of other package)- So it need to disable
@types/node
, while other
Suggestion
- Support
excludeTypeRoots
intsconfig.json
. excludeTypeRoots
have higher prioiry thantypeRoots