From 7df7aff969b56ad607b450cd75a9eda621176787 Mon Sep 17 00:00:00 2001 From: b Date: Mon, 20 May 2024 13:04:02 +0000 Subject: [PATCH] client: rename a type --- packages/tdl/src/client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tdl/src/client.ts b/packages/tdl/src/client.ts index e60f40f..4e42b98 100644 --- a/packages/tdl/src/client.ts +++ b/packages/tdl/src/client.ts @@ -119,7 +119,7 @@ export type Off = & ((event: 'error', listener: (...args: any[]) => any) => boolean) & ((event: 'close', listener: (...args: any[]) => any) => boolean) -export type ManagingOptions = { +export type ManagingParameters = { useOldTdjsonInterface: boolean, receiveTimeout: number, bare: boolean, @@ -163,7 +163,7 @@ export class Client { constructor ( tdjson: Tdjson, - managing: ManagingOptions, + managing: ManagingParameters, options: ClientOptions = {}, ) { this._options = mergeDeepRight(defaultOptions, options)