yaschema
    Preparing search index...

    Function object_noAutoOptional

    • Requires an object. Separate schemas a specified per key. Unlike with object, the keys of values that may be undefined are not automatically treated as optional. You may explicitly provide a type parameter when using …_noAutoOptional methods, and that may include optional keys.

      Type Parameters

      • ObjectT extends Record<string, any>

      Parameters

      • map: InferRecordOfSchemasFromRecordOfValues<ObjectT>

      Returns ObjectSchema_noAutoOptional<ObjectT>