Quick fix for types

This commit is contained in:
Paul Miller 2020-12-03 23:37:42 +04:00 committed by GitHub
parent 94caa9bedd
commit 86c956e12a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ export async function runBenchmark<T, R>({
id,
}: {
prepareTest: (i: number) => PromiseOptional<{input: T; resultCheck?: (result: R) => boolean}>;
testRunner: (input: T) => PromiseOptional<R>;
testRunner: (input: any) => PromiseOptional<R>;
runs?: number;
id: string;
}): Promise<void> {