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

Question: can @vuedx/typecheck be used as tsc with vue support? #22

Closed
xiaoxiangmoe opened this issue Oct 19, 2020 · 1 comment
Closed
Labels
question Further information is requested

Comments

@xiaoxiangmoe
Copy link

xiaoxiangmoe commented Oct 19, 2020

see https://github.com/vitejs/create-vite-app/pull/17/files#diff-226f2590d9b4e5717134aee8d0aa266f1e32c9d59c5928a32f1336d7204dc444R6-R13

We can use tsc --noEmit if there has no .vue file.

Can @vuedx/typecheck be used as tsc --noEmit?

@znck
Copy link
Collaborator

znck commented Oct 19, 2020

tsc does not load plugins; that's why @vuedx/typecheck exists. Yes, it is meant to be used in place of tsc --noEmit when projects have .vue files.

Related: microsoft/TypeScript#16607

@znck znck closed this as completed Oct 19, 2020
@znck znck added the question Further information is requested label Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants