@pesto-io/zod-reify
Version:
Pesto module to intantiate zod schema from Typescript source code as string.
22 lines (21 loc) • 619 B
TypeScript
/**
* /////////////////////////////////////
*/
export declare class InstanceLoader<T> {
private context;
constructor(context: Object);
getInstance(name: string, ...args: any[]): T;
}
export declare class InstanceLoader2<T> {
private context?;
constructor(context?: Object | undefined);
getInstance(name: string, ...args: any[]): T;
}
/**
* Example with reify.ZodSchemaReifier
*/
export * as reify from "./../reify";
/**
* nothing works there: https://dev.to/danywalls/decorators-in-typescript-with-example-part-1-m0f
* https://blog.logrocket.com/practical-guide-typescript-decorators/
*/