-
Docs describe return type as |
Beta Was this translation helpful? Give feedback.
Answered by
sxzz
Nov 3, 2023
Replies: 1 comment 2 replies
-
The returning type of |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
extrem7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The returning type of
definePropsRefs
is stricter thantoRefs
. BecausetoRefs
doesn't know the context in handling props. FordefinePropsRefs
we know the props should be readonly and never be assigned.