@typeofweb/schema
Version:
`@typeofweb/schema` is a lightweight and extensible library for data validation with full TypeScript support!
15 lines • 653 B
TypeScript
import type { SomeSchema } from './types';
export declare const schemaToString: (schema: SomeSchema<any>) => string;
export declare const typeToPrint: (str: string) => string;
export declare const objectToPrint: (str: string) => string;
export declare const quote: (str: string) => string;
export declare const unionToPrint: (arr: readonly string[]) => string;
declare global {
interface Array<T> {
includes(searchElement: unknown, fromIndex?: number): searchElement is T;
}
interface ReadonlyArray<T> {
includes(searchElement: unknown, fromIndex?: number): searchElement is T;
}
}
//# sourceMappingURL=stringify.d.ts.map