UNPKG

dynamodb-toolbox

Version:

Lightweight and type-safe query builder for DynamoDB and TypeScript.

10 lines (9 loc) 476 B
import type { NumberSchema, NumberSchema_ } from '../../../index.js'; import type { SchemaProps } from '../../../schema/types/schemaProps.js'; import type { Overwrite } from '../../../types/overwrite.js'; export type FromZodBigInt<ROOT extends boolean = true, PROPS extends SchemaProps = {}> = ROOT extends true ? NumberSchema_<Overwrite<PROPS, { big: true; }>> : NumberSchema<Overwrite<PROPS, { big: true; }>>; export declare const fromZodBigInt: () => NumberSchema;