Skip to content

Missing typings #16

@alfnielsen

Description

@alfnielsen

Hey Swizec,

This useDimensions hook looks nice,
but the typescript typings is not in the code when I get it from NPM,
and its not in @types/react-use-dimensions either.

But I can see in your source code that you have created it with typings.

I it possible that you can add the typings so it can be used in "strict" typescript projects?

(I believe its adding "typing:ref to file" in the package.json or something like that)

/br

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions