Skip to content

Add TypeScript type definition #74

@sindresorhus

Description

@sindresorhus

Issuehunt badges

Would be nice to have TypeScript type definitions bundled in this package. The types should be strict and should be generic so it preserves the original function type.

The type definition should follow this styleguide, and should have full docs and type tests.

Some examples:

Note that this is not an easy task and requires you to have advanced TypeScript experience. There have been multiple attempts and a lot of wasted time on my part in the past. If you intend to work on this, please look at the previous attempts and the feedback given there.


IssueHunt Summary

tom-sherman tom-sherman has been rewarded.

Backers (Total: $100.00)

Submitted pull Requests


Tips

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions