-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move interface definitions outside of <script setup>
Putting them in separate <script> tags lets them be excluded from the type definition for the component. See the error when creating types (e.g. `pnpm vue-tsc --composite false -p tsconfig.app.json --declaration --emitDeclarationOnly`; note that this will generate *.d.ts files next to the source files), and this comment: <vuejs/language-tools#1232 (comment)>
- Loading branch information
Matthew Klein
committed
Sep 16, 2022
1 parent
7054961
commit 0f0dbd1
Showing
2 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters