File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
packages/optimizely-sdk/lib/core/decision_service Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments