UNPKG

type-predicates-generator

Version:

Predicate and assert functions generator from type definitions.

18 lines (16 loc) 439 B
type ArrayCheckOption = "all" | "first"; type GenerateOption = { asserts: boolean; watch: boolean; defaultArrayCheckOption: ArrayCheckOption; comment: boolean; whitelist: boolean; }; declare function run({ tsconfigPath, fileGlobs, output, basePath, option, }: { tsconfigPath: string; fileGlobs: string[]; output: string; basePath: string; option: GenerateOption; }): Promise<void>; export { run };