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

6 lines (5 loc) 161 B
import { Schema } from '../types'; /** * Create a schema for optional values */ export declare function optional<T>(schema: Schema<T>): Schema<T | undefined>;