-
-
Notifications
You must be signed in to change notification settings - Fork 435
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
Typescript issues after updating to 1.2.4 #1389
Comments
Having the same problem in 1.3.0 |
Could you please share more details to reproduce the issue? All type tests in the repo are passing and there are no errors in the examples. Do you have a snippet to share? What typescript version are you using? |
I'll try and put together an example. I'm using typescript |
If you're using a discriminated union then yes, it might be the same issue. I'm closing this as duplicate of #1391, if you have more details please share them on the other issue, if you think this is a different one I'll reopen it. Thanks! |
@Balastrong This is a different issue. I've put together an example to demonstrate. The form is defined in App.tsx and the ts error can be seen here. |
As written in #1391 (comment), that's not how the composition API works. |
Everything is working fine, but eslint is now complaining about a lot of things. For example, the name attribute for
form.Field
:I'm currently on 1.2.2. Updated to 1.2.3 and no issues. The typescript changes in 1.2.4 should have been considered breaking changes.
The text was updated successfully, but these errors were encountered: