-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.🐞 bugSomething isn't workingSomething isn't workinghas PRA pull request has already been submitted to solve the issueA pull request has already been submitted to solve the issuescope: compiler
Description
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.
jsekulowicz, danielbender1989 and olegshibaev
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.🐞 bugSomething isn't workingSomething isn't workinghas PRA pull request has already been submitted to solve the issueA pull request has already been submitted to solve the issuescope: compiler