-
I have an interface: export interface BaseProps {
'key-name'?: string;
} If I use it: interface Props extends BaseProps {
...
} Then I get this error:
Do you know if this is a problem with betterDefine? |
Beta Was this translation helpful? Give feedback.
Answered by
sxzz
Jan 24, 2023
Replies: 1 comment
-
The prop name should use camelCase. FYI: https://vuejs.org/guide/components/props.html#prop-passing-details export interface BaseProps {
keyName?: string;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sxzz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The prop name should use camelCase.
FYI: https://vuejs.org/guide/components/props.html#prop-passing-details