-
Notifications
You must be signed in to change notification settings - Fork 43
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
Incorrect type snippet inserting with indexed access #62
Comments
The last two examples also "fails" without |
Hey, @ipatalas regarding type snippets, is this by design that For example: only type suggestions: in ast it's still a valid |
I have
.t
snippet that I use to wrap types into generics e.g.SomeType.t -> Partial<SomeType>
, its really handy. However, I usually use it in combination withExtract
so I can reduce amount of fields passing to the generic above e.g.Partial
.Snippet:
Works:
Fails:
The same applies for
typeof
:Expected:
Hope I made it clear.
The text was updated successfully, but these errors were encountered: