Skip to content
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

tsc-files is failing because it isn't including type definitions #59

Closed
mosnicholas opened this issue Sep 25, 2023 · 2 comments
Closed

Comments

@mosnicholas
Copy link

https://github.com/gustavopch/tsc-files/blob/c01619fb0ff6eea957f322539e2a8d336c2900e6/cli.js#L56C15-L56C15

This line is overriding my tsconfig include array, which defines some project-specific types. These are important to help extend typescript definitions with local ones. Is there a reason this always overrides the include array?

@gustavopch
Copy link
Owner

If we don't override, all your types will be loaded instead of only the types from the specific files you want to check, defeating the purpose of this tool. It's discussed here: #20.

@mosnicholas
Copy link
Author

Got it thank you @gustavopch

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

2 participants