From a84b2226f54801eaccd5cae65e407a4c5d58e1b8 Mon Sep 17 00:00:00 2001 From: "Raoul v. R." Date: Thu, 26 Sep 2024 23:05:16 +0200 Subject: [PATCH] Fix type issue --- src/passes/LambdaPass.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;