UNPKG

typescript-runtime-schemas

Version:

A TypeScript schema generation tool that extracts Zod schemas from TypeScript source files with runtime validation support. Generate validation schemas directly from your existing TypeScript types with support for computed types and constraint-based valid

6 lines (5 loc) 205 B
import { ExtractedSchema } from '../core/schema-extractor'; /** * Format output based on the specified format */ export declare function formatOutput(schemas: ExtractedSchema[], format: string): string;