Type alias CollectionNumberUpdate<Schema>

CollectionNumberUpdate<Schema>: {
    [K in keyof Schema as IsNum<Schema[K]> extends true
        ? K
        : never]?: number | bigint
}

Weaker version of StrictNumberUpdate which allows for more flexibility in typing number update operations.

Type Parameters

  • Schema