Subscribe on changes!

runtime-core bug, cant use ts reduction for ‘props’ passed into setup function

avatar
Jan 27th 2021

Version

3.0.5

Reproduction link

https://codepen.io/alreadytaken1990/pen/ExgqOZK

Steps to reproduce

at runtime core line 492:

see the link

What is expected?

props passed setup function with ts reduction

What is actually happening?

props: any

avatar
Jan 27th 2021

image

You've missed , before setup ().

It does work.

image

avatar
Jan 27th 2021

just in codepin miss that, see orgin code in runtime