The type of props will be discard when using typed-macros
Vue version
3.2.45
Link to minimal reproduction
Steps to reproduce
- Open the SFC Playground
- Switch prod and dev mode
What is expected?
Under both prod and dev mode, props.fn
is a function
What is actually happening?
In prod mode, props.fn
is undefined
, and in dev mode, props.fn
is a function
System Info
No response
Any additional comments?
I'll make a PR to fix it.