Skip to content

Incorrect Typescript definition #42

@srosset81

Description

@srosset81

If I import the library as intended (import waitForExpect from 'wait-for-expect') in a TypeScript file, I get this error:

This expression is not callable.
  Type 'typeof import("./node_modules/wait-for-expect/lib/index")' has no call signatures.ts(2349)

Any idea on how to solve this ?

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