Subscribe on changes!

``Script setup`` is not supported symbol prop

avatar
Sep 15th 2021

Version

3.2.11

Reproduction link

sfc.vuejs.org/

Steps to reproduce

That prop visible type is boolean | symbol was defined, then default value is symbol value.

What is expected?

If no providing visible prop in the parent component, the sub component visible prop default value is Symbol('visibleUndefined')

What is actually happening?

Its throwing error that can not convert string to symbol