-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
chore: ignore ts warning #9015
chore: ignore ts warning #9015
Conversation
✅ Deploy Preview for vite-docs-main canceled.
|
I'm not getting the error like in the screenshot, by I remember it happening if using VS Code's typescript version. Perhaps this is the case too? Anyways I think it's good to anticipate this once we upgrade TypeScript, and maybe the simpler fix is to use a We should also do this for vite/packages/vite/src/node/plugins/importAnalysisBuild.ts Lines 192 to 198 in ce790c4
|
79a59fc
to
36ee8fa
Compare
I'm not getting the error too. (TypeScript 4.6.4 (workspace), TypeScript 4.7.3 (vscode))
|
For me, even if there's no errors, when I hover |
Description
Actually the error is already handled here.
vite/packages/vite/src/node/plugins/importAnalysis.ts
Lines 297 to 303 in ce790c4
So, we can ignore TS warnings.
Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).