Skip to content

Allow passing second type parameter to useMap #278

Open
@holubond

Description

@holubond

Currently useMap only allows a single type parameter (for the key). It makes sense to be able to type the value as well.

Example

const myMap = useMap<string, string>();

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