Function object

  • Creates the object shape.

    Type Parameters

    • PropShapes extends ReadonlyDict<AnyShape>

      The mapping from a string object key to a corresponding value shape.

    Parameters

    • shapes: PropShapes

      The mapping from an object key to a corresponding shape.

    • Optional options: IssueOptions | Message

      The issue options or the issue message.

    Returns ObjectShape<PropShapes, null>