-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
Missing type in Svelte compiler AST #14246
Comments
This part is somewhat private API/ part of the acorn TS plugin, which may change . I'm not sure there are typings for it, and I'm not sure if we want to expose them |
It's not something I'm importing from somewhere I shouldn't it's part or I feel like something like that should have proper types I have seen svelte already adding extra types but was not able to figure out how I can do that too |
As a temporary workaround, you could use types from Credits goes to @manuel3108 via his work on the Rich-Harris/esrap#13 |
Although, this shouldn't go without saying that these types are not fully compatible. Those are just the closest types we have available right now. |
Describe the bug
The script part of AST specifically imports are missing
importKind
typeReproduction
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: