@@ -20,7 +20,7 @@ import OptimizelyUserContext from '../../optimizely_user_context';
20
20
import { bucket } from '../bucketer' ;
21
21
import { getTestProjectConfig , getTestProjectConfigWithFeatures } from '../../tests/test_data' ;
22
22
import { createProjectConfig , ProjectConfig } from '../../project_config/project_config' ;
23
- import { BucketerParams , Experiment , OptimizelyDecideOption , UserProfile } from '../../shared_types' ;
23
+ import { BucketerParams , Experiment , OptimizelyDecideOption , UserAttributes , UserProfile } from '../../shared_types' ;
24
24
import { CONTROL_ATTRIBUTES , DECISION_SOURCES } from '../../utils/enums' ;
25
25
import { getDecisionTestDatafile } from '../../tests/decision_test_datafile' ;
26
26
import { Value } from '../../utils/promise/operation_value' ;
@@ -344,7 +344,7 @@ describe('DecisionService', () => {
344
344
const config = createProjectConfig ( cloneDeep ( testData ) ) ;
345
345
const experiment = config . experimentIdMap [ '111127' ] ;
346
346
347
- const attributes : any = {
347
+ const attributes : UserAttributes = {
348
348
$opt_experiment_bucket_map : {
349
349
'111127' : {
350
350
variation_id : '111129' , // ID of the 'variation' variation
@@ -682,7 +682,7 @@ describe('DecisionService', () => {
682
682
const config = createProjectConfig ( cloneDeep ( testData ) ) ;
683
683
const experiment = config . experimentIdMap [ '111127' ] ;
684
684
685
- const attributes : any = {
685
+ const attributes : UserAttributes = {
686
686
$opt_experiment_bucket_map : {
687
687
'111127' : {
688
688
variation_id : '111129' , // ID of the 'variation' variation
@@ -715,7 +715,7 @@ describe('DecisionService', () => {
715
715
const config = createProjectConfig ( cloneDeep ( testData ) ) ;
716
716
const experiment = config . experimentIdMap [ '111127' ] ;
717
717
718
- const attributes : any = {
718
+ const attributes : UserAttributes = {
719
719
$opt_experiment_bucket_map : {
720
720
'122227' : {
721
721
variation_id : '111129' , // ID of the 'variation' variation
@@ -748,7 +748,7 @@ describe('DecisionService', () => {
748
748
const config = createProjectConfig ( cloneDeep ( testData ) ) ;
749
749
const experiment = config . experimentIdMap [ '111127' ] ;
750
750
751
- const attributes : any = {
751
+ const attributes : UserAttributes = {
752
752
$opt_experiment_bucket_map : {
753
753
'111127' : {
754
754
variation_id : '111129' , // ID of the 'variation' variation
@@ -774,7 +774,7 @@ describe('DecisionService', () => {
774
774
const config = createProjectConfig ( cloneDeep ( testData ) ) ;
775
775
const experiment = config . experimentIdMap [ '111127' ] ;
776
776
777
- const attributes : any = {
777
+ const attributes : UserAttributes = {
778
778
$opt_experiment_bucket_map : {
779
779
'111127' : {
780
780
variation_id : '111129' , // ID of the 'variation' variation
0 commit comments