From 01ab958b60ab549002ae72e3523a7803f5e5cf8a Mon Sep 17 00:00:00 2001 From: Rohit Date: Tue, 29 Apr 2025 20:27:22 +0530 Subject: [PATCH] feat: replace banned Function type with an explicit signature --- maxun-core/src/interpret.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maxun-core/src/interpret.ts b/maxun-core/src/interpret.ts index 5c92a767..91ade8b2 100644 --- a/maxun-core/src/interpret.ts +++ b/maxun-core/src/interpret.ts @@ -43,9 +43,9 @@ interface InterpreterOptions { binaryCallback: (output: any, mimeType: string) => (void | Promise); debug: boolean; debugChannel: Partial<{ - activeId: Function, - debugMessage: Function, - setActionType: Function, + activeId: (id: number) => void, + debugMessage: (msg: string) => void, + setActionType: (type: string) => void, }> }