@freeword/meta
Version:
Meta package for Freeword: exports all core types, constants, and utilities from the src/ directory.
12 lines • 733 B
TypeScript
import type * as ZImp from 'zod';
import type { ParseReport } from './ZodInternal.ts';
declare module "zod" {
interface ZodType<Output = any, _Def extends ZImp.ZodTypeDef = ZImp.ZodTypeDef, Input = Output> {
checkname: string;
report<RT, Paths extends string>(subj: RT, story?: Record<string, any> | undefined, params?: Partial<ZImp.ParseParams> | undefined): ParseReport<RT, Paths>;
check(subj: any, story?: Record<string, any> | undefined, params?: Partial<ZImp.ParseParams> | undefined): boolean;
cast(data: Input, story?: Record<string, any> | undefined, params?: Partial<ZImp.ParseParams> | undefined): Output;
passthrough(): this;
}
}
//# sourceMappingURL=ZodMonkeypunch.d.ts.map