Skip to content

Commit d7f9907

Browse files
committed
Update interface
1 parent 49b92e8 commit d7f9907

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/optimizely-sdk/lib/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ declare module '@optimizely/optimizely-sdk' {
125125
): string | null;
126126
setForcedVariation(experimentKey: string, userId: string, variationKey: string | null): boolean;
127127
getForcedVariation(experimentKey: string, userId: string): string | null;
128+
setForcedDecision(flagKey: string, variationKey: string, ruleKey?: string): boolean;
129+
getForcedDecision(flagKey: string, ruleKey?: string): string | null;
130+
removeForcedDecision(flagKey: string, ruleKey?: string): boolean;
131+
removeAllForcedDecisions(): boolean;
128132
isFeatureEnabled(
129133
featureKey: string,
130134
userId: string,

0 commit comments

Comments
 (0)