useId
has incorrect TypeScript definition
#17284
Unanswered
paya-cz
asked this question in
General - Components / Directives / etc
Replies: 2 comments
-
@paya-cz Hey Pavel, could you please reach out to me at the email address: [email protected]? We are very interested in potential cooperation. Unfortunately, I have not found any better solution for reaching you... Thank you! Jan |
Beta Was this translation helpful? Give feedback.
0 replies
-
Fixed by b61b1dd. The fix will be included in the next release. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looking at the code, the composable directly returns a ref.
The TypeScript definition wraps it in an object
{ id: Ref<string> }
.This generates TypeScript errors in my IDE because I am trying to bind the return value to
id
andfor
attributes, which expect a string type but instead the type is{ id: Ref<string> }
.Beta Was this translation helpful? Give feedback.
All reactions