Skip to content

Commit

Permalink
no change in worker
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz authored Jan 8, 2025
1 parent 641a6ed commit 7074ce0
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,13 @@ export class WorkerPropertyFromWorker<Ts extends [unknown, ...unknown[]]> implem
return fc.Stream.nil();
}

run(v: Ts): Promise<PreconditionFailure | PropertyFailure | null> {
return this.internalProperty.run(v);
run(v: Ts, dontRunHook?: boolean): Promise<PreconditionFailure | PropertyFailure | null> {
return (
this.internalProperty.run as (
v: Ts,
dontRunHook?: boolean,
) => Promise<PreconditionFailure | PropertyFailure | null>
)(v, dontRunHook);
}

beforeEach(hookFunction: AsyncPropertyHookFunction): IAsyncPropertyWithHooks<Ts> {
Expand Down

0 comments on commit 7074ce0

Please sign in to comment.