-
-
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