export interface IMethodConnection { id: string; close: Function; onClose: Function; clientAddress: string; httpHeaders: Record; } export interface IMethodThisType { isSimulation: boolean; userId: string | null; connection: IMethodConnection | null; setUserId(userId: string): void; unblock(): void; twoFactorChecked: boolean | undefined; }