Quick fix for types
This commit is contained in:
parent
94caa9bedd
commit
86c956e12a
|
@ -7,7 +7,7 @@ export async function runBenchmark<T, R>({
|
||||||
id,
|
id,
|
||||||
}: {
|
}: {
|
||||||
prepareTest: (i: number) => PromiseOptional<{input: T; resultCheck?: (result: R) => boolean}>;
|
prepareTest: (i: number) => PromiseOptional<{input: T; resultCheck?: (result: R) => boolean}>;
|
||||||
testRunner: (input: T) => PromiseOptional<R>;
|
testRunner: (input: any) => PromiseOptional<R>;
|
||||||
runs?: number;
|
runs?: number;
|
||||||
id: string;
|
id: string;
|
||||||
}): Promise<void> {
|
}): Promise<void> {
|
||||||
|
|
Reference in New Issue