defineProps bug when Interface properteis contain two or more : colons
Vue version
3.3
Link to minimal reproduction
Steps to reproduce
export interface ccTableProps { editable: boolean; cachedMode: boolean; 'onUpdate:expanded'?: (newExpanded: readonly any[]) => void; 'onUpdate:selected'?: (newSelected: readonly any[]) => void; }
defineProps
What is expected?
define props correctly
What is actually happening?
vite error with tips about missing xxx
System Info
No response
Any additional comments?
interface properties contains one colon: nothing wrong. two or more colons: vite error.