Skip to content

index.d.ts out of sync with index.js #297

Open
@smonroe4242

Description

@smonroe4242

Typescript is telling me there are declared methods in @uidotdev/usehooks @2.4.1 that are not available in implementation.

Specifically, index.d.ts declares useSpeech, which was removed from index.js in ea634b3 between 2.1.1 and 2.2.0, implying that all versions > 2.2.0 suffer from this problem.

useSpeech was the only thing I tried to use from typescript autocomplete that failed at build time, but I have not checked the rest of the declarations to see if other things are out of sync.

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