UNPKG

@openzeppelin/cli

Version:

Command-line interface for the OpenZeppelin smart contract platform

3 lines (2 loc) 161 B
export declare function tryFunc<T>(func: () => T, ifException?: T): T; export declare function tryAwait<T>(func: () => Promise<T>, ifException?: T): Promise<T>;