change(tracker): change types for cb

This commit is contained in:
sylenien 2022-11-03 14:40:14 +01:00 committed by Delirium
parent 71c56c4462
commit 138b0ef549

View file

@ -15,7 +15,7 @@ import type { Options as ConfirmOptions, } from './ConfirmWindow/defaults.js'
// TODO: fully specified strict check with no-any (everywhere)
type StartEndCallback = (agentInfo?: Record<string, any>) => (((agentInfo?: Record<string, any>)=>Record<string, unknown>) | void)
type StartEndCallback = (agentInfo?: Record<string, any>) => ((() => any) | void)
export interface Options {
onAgentConnect: StartEndCallback;