UNPKG

@codethread/tstl-validate

Version:

Fork and adaptation of valibot for use in typescript-to-lua

17 lines (16 loc) 368 B
/** @noSelfInFile */ import type { BaseSchema, Pipe } from '../../types'; /** * Any schema type. */ export type AnySchema<TOutput = any> = BaseSchema<any, TOutput> & { schema: 'any'; }; /** * Creates a any schema. * * @param pipe A validation and transformation pipe. * * @returns A any schema. */ export declare function any(pipe?: Pipe<any>): AnySchema;