Skip to content

Commit 54ec38d

Browse files
Use DialerContext type in DialerRegistry methods
Co-authored-by: Nikos Baxevanis <[email protected]>
1 parent 6f947dd commit 54ec38d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dialer.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { existsSync } from "fs";
22
import { resolve } from "path";
3-
import { Dialer } from "./dialer.types";
3+
import { Dialer, DialerContext } from "./dialer.types";
44

55
export class DialerRegistry {
66
private dialPath: string;
@@ -45,7 +45,7 @@ export class DialerRegistry {
4545
}
4646
}
4747

48-
async executePreDialers(context: any) {
48+
async executePreDialers(context: DialerContext) {
4949
if (this.preDialers.length === 0) {
5050
return;
5151
}
@@ -55,7 +55,7 @@ export class DialerRegistry {
5555
}
5656
}
5757

58-
async executePostDialers(context: any) {
58+
async executePostDialers(context: DialerContext) {
5959
if (this.postDialers.length === 0) {
6060
return;
6161
}

0 commit comments

Comments
 (0)