Skip to content

Type definitions not working with chrome.tabs.query #13

Description

@vquigley

TS linter is throwing an error when trying to mock chrome.tabs.query

image

I think this is happening because chrome is overloading the query function name in their type definition:

image

But the jest definition only has one definition for the mocked function:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions