Type alias Push<Schema>

Push<Schema>: {
    [K in keyof ArrayUpdate<Schema>]?: ArrayUpdate<Schema>[K] | {
        $each: ArrayUpdate<Schema>[K][];
        $position?: number;
    }
}

Weaker version of StrictPush which allows for more flexibility in typing push operations.

Type Parameters

  • Schema