UNPKG

@palmares/schemas

Version:

This defines a default schema definition for validation of data, it abstract popular schema validation libraries like zod, yup, valibot and others"

9 lines 403 B
import type { Schema } from '../schema/schema'; /** * This will convert a value from a string to any other type. * * @param callback * @returns */ export declare function convertFromStringBuilder(callback: (value: string) => Awaited<ReturnType<Parameters<Schema['__parsers']['high']['set']>[1]>>): Parameters<Schema['__parsers']['high']['set']>[1]; //# sourceMappingURL=convert-from-string.d.ts.map