feat: replace banned Function type with an explicit signature
This commit is contained in:
@@ -43,9 +43,9 @@ interface InterpreterOptions {
|
|||||||
binaryCallback: (output: any, mimeType: string) => (void | Promise<void>);
|
binaryCallback: (output: any, mimeType: string) => (void | Promise<void>);
|
||||||
debug: boolean;
|
debug: boolean;
|
||||||
debugChannel: Partial<{
|
debugChannel: Partial<{
|
||||||
activeId: Function,
|
activeId: (id: number) => void,
|
||||||
debugMessage: Function,
|
debugMessage: (msg: string) => void,
|
||||||
setActionType: Function,
|
setActionType: (type: string) => void,
|
||||||
}>
|
}>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user