diff --git a/src/passes/LambdaPass.ts b/src/passes/LambdaPass.ts index 679f4e33d..72318d3d7 100644 --- a/src/passes/LambdaPass.ts +++ b/src/passes/LambdaPass.ts @@ -12,7 +12,7 @@ export class LambdaPass extends Pass { * The function to execute. */ - f: CallableFunction; + f: () => void; /** * Constructs a new lambda pass. @@ -20,7 +20,7 @@ export class LambdaPass extends Pass { * @param f - A function. */ - constructor(f: CallableFunction) { + constructor(f: () => void) { super("LambdaPass"); this.f = f;