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
The non-literal defaults aren't recognized correctly #23
Comments
Consequently, the same problem occurs with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Imagine you have a JS file which exports some enum:
You want your prop to be one of the values from that enum, so you write the following in your Svelte component:
The generated typings lack the information on the default value of this prop:
The text was updated successfully, but these errors were encountered: