You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1, open minimal repo and see the reported error in App.vue at <Comp> usage. It says p1, p2 and p3 required props are missing.
2, open Comp.ts see Comp definition where p1, p2 and p3 are defined as optional props. Hoovering over props in setup func also shows them incorrectly as required.
What is expected?
p1, p2 and p3 props of Comp correctly inferred as optional props like what happens with the similar CompB (options syntax).
What is actually happening?
p1, p2, and p3 props of Comp are inferred incorrectly as required props.