-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Open
Labels
🐞 bugSomething isn't workingSomething isn't workingscope: script-setupscope: sfcscope: types🔩 p2-edge-case
Description
Version
3.2.4
Reproduction link
https://github.com/Nisgrak/test-setup-ts
Steps to reproduce
- Init the proyect with
yarn serve
- See the error that happen with HelloWorld components
What is expected?
Can export interfaces and other vars in a normal <script>
tag having an <script setup>
one
What is actually happening?
An error with the default export of the HelloWorld component
I try to create a interface of the props of a components and export it, using the new <script setup>
, but it don't work and in the docs it says if have to export something must be in a normal <script>
fullheart
Metadata
Metadata
Assignees
Labels
🐞 bugSomething isn't workingSomething isn't workingscope: script-setupscope: sfcscope: types🔩 p2-edge-case