UNPKG

@sprucelabs/schema

Version:

Static and dynamic binding plus runtime validation and transformation to ensure your app is sound. 🤓

11 lines (10 loc) • 309 B
import { FieldDefinition } from './field.static.types'; export type NumberFieldDefinition = FieldDefinition<number, number, number[], number[]> & { /** * .Number - a number, silly */ type: 'number'; /** Configure this field */ options?: { min?: number; max?: number; }; };