Skip to content

Commit a84b222

Browse files
committed
Fix type issue
1 parent 6b84c06 commit a84b222

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/passes/LambdaPass.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ export class LambdaPass extends Pass {
1212
* The function to execute.
1313
*/
1414

15-
f: CallableFunction;
15+
f: () => void;
1616

1717
/**
1818
* Constructs a new lambda pass.
1919
*
2020
* @param f - A function.
2121
*/
2222

23-
constructor(f: CallableFunction) {
23+
constructor(f: () => void) {
2424

2525
super("LambdaPass");
2626
this.f = f;

0 commit comments

Comments
 (0)