Skip to content

Feature: dict with number keys #39

Description

@laurence-bird

Currently the dict decoder only supports keys as string types :

static dict = <A>(decoder: Decoder<A>): Decoder<Record<string, A>> =>

Would you accept a pull request to provide the ability to decode dicts with numbers as keys? Happy to do the work and raise if so

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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