From 82979aa94ea068eb4a5749dedf7a50d3c64a8b0d Mon Sep 17 00:00:00 2001 From: bombillazo Date: Mon, 5 Feb 2024 11:34:44 -0400 Subject: [PATCH] chore: fix port type in client config --- connection/connection_params.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/connection/connection_params.ts b/connection/connection_params.ts index 95432a83..5b1f1952 100644 --- a/connection/connection_params.ts +++ b/connection/connection_params.ts @@ -116,9 +116,12 @@ export type ClientOptions = { }; /** The configuration options required to set up a Client instance */ -export type ClientConfiguration = Required> & { - password?: string; -}; +export type ClientConfiguration = + & Required> + & { + password?: string; + port: number; + }; function formatMissingParams(missingParams: string[]) { return `Missing connection parameters: ${missingParams.join(", ")}`;