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
The exported interface can be used to define the props. As it is in the same file. Because the interface is also exported, it cannot be defined in script block.
Vue version
3.2.37
Link to minimal reproduction
https://sfc.vuejs.org/#eNpdULtuwzAM/BVCS1ogsdHVUFx0a7duXbS4Dp0osB6g6DaAoX8vZRtFkE13FO94N6u3GKufCVWjdOrJRoax8+ejUZyMao23LgZimIFw2MMJB+vxk0JMkGGg4GAn2zvjAYzH2/LXekYauh7hg9HBXIaMN35tIDFZfzY+G6/r1U88BGzeCXmKDxf0wSeGuHge7y/QRb59en7UEjaOHaMgAH15ad9xHAN8BRpPuha88JGwnedNN2ddF6JI/a+rvVrTH1wXq2sKXlpa0phtIAc2a77CSREFG3Vhjqmp6zT0pdtrqgKda3lVNHm2DitM7vBN4TchibBRRUI6ySr/Aa/ojP8=
Steps to reproduce
Run the SFC Playground (in Chrome)
What is expected?
The exported interface can be used to define the props. As it is in the same file. Because the interface is also exported, it cannot be defined in
script
block.What is actually happening?
It doesn't compile.
System Info
Any additional comments?
When i don't export the interface, a different error is thrown (in my local IDE):
Could be duplicate to #4423
The text was updated successfully, but these errors were encountered: