Type alias StrictNumberUpdate<Schema, InNotation>

StrictNumberUpdate<Schema, InNotation>: ContainsNum<InNotation> extends true
    ? {
        [K in keyof InNotation as IsNum<InNotation[K]> extends true
            ? K
            : never]?: number | bigint
    }
    : TypeErr<"Can not perform a number operation on a schema with no numbers">

Strongly types number update operations (inc. dot notation schema).

Type Parameters