UNPKG

hardhat

Version:

Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.

6 lines 798 B
import type { ArgumentType, ArgumentValue, OptionDefinition, PositionalArgumentDefinition } from "../../../types/arguments.js"; export declare function validateId(id: string | string[]): void; export declare function validateOption({ name, shortName, type, defaultValue }: OptionDefinition, usedNames: Set<string>, taskId: string | string[]): void; export declare function validatePositionalArgument({ name, type, defaultValue, isVariadic }: PositionalArgumentDefinition, usedNames: Set<string>, taskId: string | string[], lastArg?: PositionalArgumentDefinition): void; export declare function validateTaskArgumentValue(name: string, expectedType: ArgumentType, value: ArgumentValue | ArgumentValue[], isVariadic: boolean, taskId: string | string[]): void; //# sourceMappingURL=validations.d.ts.map