UNPKG

@donmccurdy/caporal

Version:

A full-featured framework for building command line applications (cli) with node.js

7 lines (6 loc) 309 B
/** * @packageDocumentation * @internal */ import type { ParserTypes, FunctionValidator, Argument, Option } from "../types.js"; export declare function validateWithFunction(validator: FunctionValidator, value: ParserTypes | ParserTypes[], context: Argument | Option): Promise<ParserTypes | ParserTypes[]>;