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

Wrong type definitions for gauge.update #3950

Closed
schlundus opened this issue Oct 26, 2021 · 0 comments
Closed

Wrong type definitions for gauge.update #3950

schlundus opened this issue Oct 26, 2021 · 0 comments

Comments

@schlundus
Copy link

  • Framework7 version: 6.3.6

Describe the bug

Wrong typings for gauge.update leading to typescript error

To Reproduce

--schnipp--
gauge.update({
value: 0.9,
});
--schnapp--

Expected behavior

No Typescript errors, the argument of gauge.update should be of type Parameters without el

Actual Behavior

Typescript is complaining about the missing (mandatory) el Parameter, but this should not be needed for the update method.
See Screenshot of the type definition ...

Screenshots

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant