-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed as not planned
Closed as not planned
Copy link
Labels
S: staleThis issue is untriaged and hasn't seen any activity in at least six months.This issue is untriaged and hasn't seen any activity in at least six months.S: triage
Description
Environment
Vuetify Version: 3.3.12
Vue Version: 3.3.4
Browsers: Chrome 116.0.0.0
OS: Mac OS 10.15.7
Steps to reproduce
- Create a component with
VCombobox
and <script setup> - Create types for this component with
"type-create": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.build.json",
When building the component, we see this error:
This may because VCombobox is using a private type ListItem.
When add export to interface ListItem, this error is gone.
related reading:
vuejs/language-tools#1232
Expected Behavior
Export type ListItem in generated index.d.mts
Not showing error: Default export of the module has or is using private name 'ListItem'.
for VCombobox
Actual Behavior
Showing error default export using private name.
The actual code of list-item composable is exported ListItem, but generated type of ListItem in vuetify.d.ts
(and index.d.mts of VList, VCombobox) is private.
williamsbs and KozakoPolako
Metadata
Metadata
Assignees
Labels
S: staleThis issue is untriaged and hasn't seen any activity in at least six months.This issue is untriaged and hasn't seen any activity in at least six months.S: triage