Skip to content

vue-tsc is checking libs #2018

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
Blackfaded opened this issue Oct 14, 2022 · 1 comment
Closed

vue-tsc is checking libs #2018

Blackfaded opened this issue Oct 14, 2022 · 1 comment
Labels

Comments

@Blackfaded
Copy link

Hey there!

I have a dependency (vue-currency-input) which has a ts error.
With the new vue-tsc version the lib also gets checked somehow and breaks my build pipeline because of this error.
Even if my tsconfig states that skipLibCheck is true and excluded node_modules.

For details you can track the issue here

Thanks in advance!

@johnsoncodehk
Copy link
Member

exclude and skipLibCheck cannot ignore library types errors that you have already direct or indirect reference with it in your code. You can see more explain here: https://stackoverflow.com/questions/59906323/typescript-skiplibcheck-still-checking-node-modules-libs

A way you can try is stub: #592 (reply in thread)

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

No branches or pull requests

2 participants