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.6] Missing typing for slot variables #20803

Closed
crystalfp opened this issue Dec 27, 2024 · 0 comments · Fixed by #20537
Closed

[Bug Report][3.7.6] Missing typing for slot variables #20803

crystalfp opened this issue Dec 27, 2024 · 0 comments · Fixed by #20537
Assignees
Labels
C: VStepper T: bug Functionality that does not work as intended/expected typescript
Milestone

Comments

@crystalfp
Copy link

Environment

Vuetify Version: 3.7.6
Vue Version: 3.5.13
Browsers: Chrome 131.0.0.0
OS: Windows 10

Steps to reproduce

Load it and see typescript complains about step (Operator '>' cannot be applied to types 'unknown' and 'number'.); next (Property 'next' does not exist on type 'StepperItemSlot'.) and prev (Property 'prev' does not exist on type 'StepperItemSlot'.).

Expected Behavior

No error from typescript.

Actual Behavior

See above for the typescript errors.

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

For prev and next there are also other issues open (#18131, #20213), but this adds step error.

@KaelWD KaelWD added T: bug Functionality that does not work as intended/expected C: VStepper typescript labels Jan 21, 2025
@KaelWD KaelWD self-assigned this Jan 24, 2025
@KaelWD KaelWD added this to the v3.7.x milestone Jan 24, 2025
@KaelWD KaelWD closed this as completed in 0230259 Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VStepper T: bug Functionality that does not work as intended/expected typescript
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants