Libraries v5.0.0
    Preparing search index...

    Type Alias SyncSchemaToSchemaMapperResult<TFromSchema, TToSchema>

    SyncSchemaToSchemaMapperResult: (
        from: InferType<TFromSchema>,
    ) => InferType<TToSchema>

    A complete synchronous mapping; unexpected thenables throw instead of leaking into DTOs.

    Type Parameters

    • TFromSchema extends ObjectSchemaBuilder<any, any, any, any, any, any, any>
    • TToSchema extends ObjectSchemaBuilder<any, any, any, any, any, any, any>

    Type Declaration