Skip to content

Wrong type definitions for gauge.update #3950

@schlundus

Description

@schlundus
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions