UNPKG

hardhat

Version:

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

5 lines 284 B
import type { ZodType } from "zod"; export declare function validateParams<TypesT extends ReadonlyArray<ZodType<any>>>(params: any[], ...types: TypesT): { [i in keyof TypesT]: TypesT[i] extends ZodType<infer TypeT> ? TypeT : never; }; //# sourceMappingURL=validate-params.d.ts.map