UNPKG

veffect

Version:

powerful TypeScript validation library built on the robust foundation of Effect combining exceptional type safety, high performance, and developer experience. Taking inspiration from Effect's functional principles, VEffect delivers a balanced approach tha

17 lines (16 loc) 575 B
/** * Any Schema implementation */ import { Schema, RefinableSchema, TransformableSchema, DefaultableSchema, NullableSchema } from '../types'; export interface AnySchema extends Schema<any>, RefinableSchema<any, AnySchema>, TransformableSchema<any, AnySchema>, DefaultableSchema<any, AnySchema>, NullableSchema<any, AnySchema> { readonly _tag: 'AnySchema'; } /** * Creates a schema that accepts any value without validation * * @returns A schema that accepts any value * * @example * const dynamicDataSchema = any(); */ export declare function any(): AnySchema;