-
-
Notifications
You must be signed in to change notification settings - Fork 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
issue: Type issue for FieldPathValue
in TypeScript v5.0.2
#10121
Comments
We haven't upgraded to v5. |
Yeah, It's not an urgent thing, but since this is an issue so I'm just reporting it to see if it helps. |
could you try with |
|
Yea, I think that's to do with the latest TS, not much we could do here 😆 |
@bluebill1049 Yeah, but really want to know what's going on. Can you please share the reason behind this once you get it? Appreciate it. |
Version Number
7.43.5
Codesandbox/Expo snack
https://stackblitz.com/edit/vitejs-vite-6bugf6?file=src/Example.tsx
Steps to reproduce
vite
dev servertsc --noEmit
in the terminalExpected behaviour
No issue should be reported, as it's working with TypeScript 4.x
The working solution in
v4.x
is provided by @bluebill1049 but it's not working inv5.x
anymore #9655A temp workaround could be using
PathValue<T, K>
instead ofFieldPathValue<T, K>
straight away instead, but since it's just a type alias, I've no idea whyFieldPathValue
is not working.What browsers are you seeing the problem on?
No response
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: