Skip to content

Better TypeScript type inference for promiseFn / deferFn argsΒ #74

Open
@LennardWesterveld

Description

@LennardWesterveld

I'm missing a option like https://www.npmjs.com/package/react-async-hook has for typescript that you can give as second option a array of the values you want to give to the async function. It is also nice typed because the array says also witch value it expecting related to the async function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhancement to existing featurehelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions