Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report][3.7.11] VForm generate TS error "Default export of the module has or is using private name 'SubmitEventPromise'." #20961

Closed
ThomasKientz opened this issue Feb 5, 2025 · 4 comments
Labels
duplicate The issue has already been reported

Comments

@ThomasKientz
Copy link
Contributor

ThomasKientz commented Feb 5, 2025

Environment

Vuetify Version: 3.7.11
Last working version: 3.6.15
Vue Version: 3.5.13
Browsers: Chrome 132.0.0.0
OS: Mac OS 10.15.7

Steps to reproduce

Use VForm with a ref

Expected Behavior

Type checking to succeed

Actual Behavior

TS throws

error TS4082: Default export of the module has or is using private name 'SubmitEventPromise'.

Reproduction Link

https://github.com/ThomasKientz/vuetify-form-issue

I have initiated the repo with:

npm create vuetify@latest

Copy the VForm exemple as is https://vuetifyjs.com/en/components/forms/#exposed-properties

And run npm run build (or npm run type-check)

@ThomasKientz
Copy link
Contributor Author

I do not wish to do anything else than type-checking the repo as other issues like #20480 talks about emiting declarations.

@KaelWD
Copy link
Member

KaelWD commented Feb 6, 2025

#20480 is also using --noEmit, the solution is the same.

@KaelWD KaelWD closed this as completed Feb 6, 2025
@github-actions github-actions bot added duplicate The issue has already been reported and removed S: triage labels Feb 6, 2025
@ThomasKientz
Copy link
Contributor Author

@KaelWD sorry I don’t see any solution?

@KaelWD
Copy link
Member

KaelWD commented Feb 6, 2025

downgrading vue-tsc to 2.1.10 instead 2.2.0 works for me

Or you can try the dev branch to see our changes cause any other problems: https://vuetifyjs.com/en/getting-started/installation/#nightly-builds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate The issue has already been reported
Projects
None yet
Development

No branches or pull requests

2 participants