From f6215195b1a02315bf37a3ede85ab9a5d524f9d8 Mon Sep 17 00:00:00 2001 From: Nicky Bondarenko Date: Thu, 15 Aug 2024 15:00:21 +0200 Subject: [PATCH] refactor: refactor Confidence --- packages/sdk/src/Confidence.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sdk/src/Confidence.ts b/packages/sdk/src/Confidence.ts index 2d99302..5bb6b22 100644 --- a/packages/sdk/src/Confidence.ts +++ b/packages/sdk/src/Confidence.ts @@ -183,7 +183,7 @@ export class Confidence implements EventSender, Trackable, FlagResolver { /** Clears flag cache */ clearFlagCache(): void { if (this.config.flagResolverClient instanceof CachingFlagResolverClient) { - (this.config.flagResolverClient as CachingFlagResolverClient).forceEvict(); + this.config.flagResolverClient.forceEvict(); } }