Skip to content

TypeScript: toJSON() return type on MapSchema / ArraySchema  #162

Open
@endel

Description

@endel

The return type of .toJSON() of MapSchema and ArraySchema should be respected rather than returning any.

image
image


This is particularly useful on React applications where .toJSON() can be used to set to reflect local component state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions