format & lint

This commit is contained in:
Snarling 2022-08-02 11:32:04 -04:00
parent 47d51391e3
commit 9f6ccc94b1

@ -3222,7 +3222,12 @@ export interface CodingContract {
* @param opts - Optional parameters for configuring function behavior.
* @returns True if the solution was correct, false otherwise. If the returnReward option is configured, then the function will instead return a string. If the contract is successfully solved, the string will contain a description of the contracts reward. Otherwise, it will be an empty string.
*/
attempt(answer: string | number | any[], filename: string, host?: string, opts?: CodingAttemptOptions): boolean | string;
attempt(
answer: string | number | any[],
filename: string,
host?: string,
opts?: CodingAttemptOptions,
): boolean | string;
/**
* Get the type of a coding contract.