Skip to content

ObjectType.shape is not a function #44

@jbeckton

Description

@jbeckton

What version of schema-typed are you using?

2.0.2

Describe the Bug

schema_typed_1.ObjectType.shape is not a function

Expected Behavior

no type error

To Reproduce

I copied your first code example into an online editor to run it and the lib has a type error.

https://github.com/rsuite/schema-typed#getting-started

https://stackblitz.com/edit/typescript-z822z2

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