Skip to content

Commit

Permalink
Fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vanruesc committed Sep 26, 2024
1 parent 6b84c06 commit a84b222
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/passes/LambdaPass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ export class LambdaPass extends Pass {
* The function to execute.
*/

f: CallableFunction;
f: () => void;

/**
* Constructs a new lambda pass.
*
* @param f - A function.
*/

constructor(f: CallableFunction) {
constructor(f: () => void) {

super("LambdaPass");
this.f = f;
Expand Down

0 comments on commit a84b222

Please sign in to comment.