-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Intermittent type errors when opening or editing files with typescript 3.7 #34999
Comments
Confirmed with TS 3.8.0-dev.20191105. Does not depend on VS Code version and does not happen with TS 3.6.3 Specific errors are things like:
|
Just looked at that branch from mobile. Doesn't look like a composite project Does it build successfully with It may be tangentially related to, Particularly,
I've found that tsserver and tsc can have different ideas of what is valid and what is invalid Sometimes, an upstream type incorrectly resolving to I see |
Okay, I feel like this is probably the most relevant issue, In that issue, types keep flipping between resolving correctly and resolving to |
Yep, it works fine when you build it. Those related issues look a lot like this other problem I had a while ago, where recursive types worked in vscode but were |
Duplicate of #23897 where in order of resolution changes the result |
This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
Steps to Reproduce:
git clone -b refactor/ts37 https://github.com/vuetifyjs/vuetify.git
, runyarn && yarn build
, then open it in vscodeVTreeView.ts
andVtreeViewNode.ts
Video demonstrating the problem
And anotha one
This doesn't seem to occur with ts 3.5 (master branch)
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: