Skip to content

Wrong parameter name React.useCallback typescript #42

Open
@ghost

Description

This parameter name should only be "callback" instead it's shown the TypeScript typings of the function.

Screen Shot 2021-03-11 at 09 35 57

This is React.useCallback TypeScript declaration:

function useCallback<T extends (...args: any[]) => any>(callback: T, deps: DependencyList): T;

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