From f6cd8d991b8dc8ca6d28964e46839c79727de669 Mon Sep 17 00:00:00 2001 From: Warren James Date: Mon, 11 Mar 2024 14:40:59 -0400 Subject: [PATCH] feat(NODE-6008): deprecate CloseOptions interface (#4030) Co-authored-by: Aditi Khare <106987683+aditi-khare-mongoDB@users.noreply.github.com> Co-authored-by: Neal Beeken --- src/cmap/connection_pool.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cmap/connection_pool.ts b/src/cmap/connection_pool.ts index 195ad4dc9c6..b49c3d1d7b3 100644 --- a/src/cmap/connection_pool.ts +++ b/src/cmap/connection_pool.ts @@ -118,7 +118,11 @@ export const PoolState = Object.freeze({ closed: 'closed' } as const); -/** @public */ +/** + * @public + * @deprecated This interface is deprecated and will be removed in a future release as it is not used + * in the driver + */ export interface CloseOptions { force?: boolean; }