UNPKG

create-validator-ts

Version:

Create JSON Schema validator from TypeScript.

63 lines 1.38 kB
export declare const cli: import("meow").Result<{ tsconfigFilePath: { type: "string"; default: string; }; generatorScript: { type: "string"; default: string; }; cwd: { type: "string"; default: string; }; watch: { type: "boolean"; }; cache: { type: "boolean"; default: false; }; check: { type: "boolean"; }; verbose: { type: "boolean"; default: true; }; sortProps: { type: "boolean"; }; strictTuples: { type: "boolean"; }; skipTypeCheck: { type: "boolean"; default: true; }; encodeRefs: { type: "boolean"; }; additionalProperties: { type: "boolean"; }; }>; export declare const run: (input?: string[], flags?: { tsconfigFilePath: string; generatorScript: string; cwd: string; watch: boolean | undefined; cache: boolean; check: boolean | undefined; verbose: boolean; sortProps: boolean | undefined; strictTuples: boolean | undefined; skipTypeCheck: boolean; encodeRefs: boolean | undefined; additionalProperties: boolean | undefined; } & Record<string, unknown>) => Promise<{ exitStatus: number; stdout: string | null; stderr: Error | null; }>; //# sourceMappingURL=cli.d.ts.map