File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
lib/optimizely_user_context Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import {
2424 UserAttributes ,
2525} from '../shared_types' ;
2626import { OptimizelySegmentOption } from '../odp/segment_manager/optimizely_segment_option' ;
27+ import { R } from 'vitest/dist/chunks/environment.LoooBwUu' ;
2728
2829export const FORCED_DECISION_NULL_RULE_KEY = '$opt_null_rule_key' ;
2930
@@ -41,9 +42,9 @@ export interface IOptimizelyUserContext {
4142 decide ( key : string , options ?: OptimizelyDecideOption [ ] ) : OptimizelyDecision ;
4243 decideAsync ( key : string , options ?: OptimizelyDecideOption [ ] ) : Promise < OptimizelyDecision > ;
4344 decideForKeys ( keys : string [ ] , options ?: OptimizelyDecideOption [ ] ) : { [ key : string ] : OptimizelyDecision } ;
44- decideForKeysAsync ( keys : string [ ] , options ?: OptimizelyDecideOption [ ] ) : Promise < { [ key : string ] : OptimizelyDecision } > ;
45+ decideForKeysAsync ( keys : string [ ] , options ?: OptimizelyDecideOption [ ] ) : Promise < Record < string , OptimizelyDecision > > ;
4546 decideAll ( options ?: OptimizelyDecideOption [ ] ) : { [ key : string ] : OptimizelyDecision } ;
46- decideAllAsync ( options ?: OptimizelyDecideOption [ ] ) : Promise < { [ key : string ] : OptimizelyDecision } > ;
47+ decideAllAsync ( options ?: OptimizelyDecideOption [ ] ) : Promise < Record < string , OptimizelyDecision > > ;
4748 trackEvent ( eventName : string , eventTags ?: EventTags ) : void ;
4849 setForcedDecision ( context : OptimizelyDecisionContext , decision : OptimizelyForcedDecision ) : boolean ;
4950 getForcedDecision ( context : OptimizelyDecisionContext ) : OptimizelyForcedDecision | null ;
You can’t perform that action at this time.
0 commit comments