generated from unplugin/unplugin-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Currently, only Vue SFC files without typescript-specific syntax presence are working with the addon (e.g. TS files with no TS syntax).
Example
Adding anything TypeScript-specific throws an error, e.g. adding and using ComponentProps
type inside ./examples/vite/src/writing-docs/mdx-1.basic-example.stories.vue
<script setup lang="ts">
import type { ComponentProps } from 'vue-component-type-helpers'
import Checkbox from '../components/Checkbox.vue'
const a: ComponentProps<typeof Checkbox> = {
label: 'Unchecked',
}
</script>
Metadata
Metadata
Assignees
Labels
No labels