Closed as not planned
Description
Vue - Official extension or vue-tsc version
2.1.10
VSCode version
1.91.1
Vue version
3.5.13
TypeScript version
5.4.5
System Info
windows
package.json dependencies
No response
Steps to reproduce
xx.ts
// type Option = { // label: string // value: any // } // export interface Option { // label: string // value: any // } interface Option { label: string value: any } export interface ComponentProps { option?: Option disable?: boolean }
xx.vue
<template> <div></div> </template> <script setup lang="ts"> defineProps<ComponentProps >() </script>
When using interface Option
, the vue.d.ts
file is not generated.
When using export interface Option
and type Option
, the vue.d.ts file can be generated.
What is expected?
There should be a vue.d.ts file.
What is actually happening?
vue.d.ts file is not generated.
Link to minimal reproduction
No response
Any additional comments?
No response