From aece015484d6b0371c5120926d1522e60eb920ef Mon Sep 17 00:00:00 2001 From: Tiago Fonseca Date: Mon, 23 Dec 2024 15:09:45 -0300 Subject: [PATCH] remove setTrait and setTraits deprecation Signed-off-by: Tiago Fonseca --- types.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types.d.ts b/types.d.ts index a6d1a3f..299e691 100644 --- a/types.d.ts +++ b/types.d.ts @@ -231,12 +231,11 @@ export interface IFlagsmith Record; /** - * * @deprecated Please consider using evaluationContext.identity: {@link IFlagsmith.setContext}. + * Set a specific trait for a given user id, triggers a call to get flags * */ setTrait: (key: T, value: IFlagsmithTrait) => Promise; /** * Set a key value set of traits for a given user, triggers a call to get flags - * @deprecated in favour of {@link IFlagsmith.setContext}. */ setTraits: (traits: ITraits) => Promise; /**