Have problem with typescript prop to child component #10339
jerryk1925
started this conversation in
General
Replies: 1 comment
-
let className = '';
export { className as class } |
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
-
i have parent component, when i want add class props, but i have ts error
Svelte: Object literal may only specify known properties, and "class" does not exist in type
qwe
but i cant add type class to child component because i have error
Reserved word 'class' used as name
How i can fix this problem ?
Beta Was this translation helpful? Give feedback.
All reactions