Skip to content

Commit 3dcda32

Browse files
committed
Add missing attribute
1 parent 89856e7 commit 3dcda32

File tree

1 file changed

+7
-6
lines changed
  • packages/optimizely-sdk/lib/core/decision_service

1 file changed

+7
-6
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ declare module '@optimizely/optimizely-sdk/lib/core/decision_service' {
2020

2121
/**
2222
* Creates an instance of the DecisionService.
23-
* @param {Options} options Configuration options
23+
* @param {Options} options Configuration options
2424
* @return {DecisionService} An instance of the DecisionService
2525
*/
2626
export function createDecisionService(options: Options): DecisionService;
@@ -29,13 +29,14 @@ declare module '@optimizely/optimizely-sdk/lib/core/decision_service' {
2929

3030
/**
3131
* Gets variation where visitor will be bucketed.
32-
* @param {Object} configObj The parsed project configuration object
33-
* @param {string} experimentKey
34-
* @param {string} userId
35-
* @param {Object} attributes
36-
* @return {string|null} The variation the user is bucketed into.
32+
* @param {ProjectConfig} configObj The parsed project configuration object
33+
* @param {string} experimentKey
34+
* @param {string} userId
35+
* @param {UserAttributes} attributes
36+
* @return {string|null} The variation the user is bucketed into.
3737
*/
3838
getVariation(
39+
configObj: ProjectConfig,
3940
experimentKey: string,
4041
userId: string,
4142
attributes?: import('../../shared_types').UserAttributes

0 commit comments

Comments
 (0)