File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/optimizely-sdk/lib/optimizely Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ export default class Optimizely {
143143
144144 const projectConfigManagerReadyPromise = this . projectConfigManager . onReady ( ) ;
145145
146- let userProfileService = null ;
146+ let userProfileService : UserProfileService | null = null ;
147147 if ( config . userProfileService ) {
148148 try {
149149 if ( userProfileServiceValidator . validate ( config . userProfileService ) ) {
@@ -328,8 +328,8 @@ export default class Optimizely {
328328 const experimentKey = decision . getExperimentKey ( decisionObj ) ;
329329 const variationKey = decision . getVariationKey ( decisionObj ) ;
330330
331- let experimentId = null ;
332- let variationId = null ;
331+ let experimentId : string | null = null ;
332+ let variationId : string | null = null ;
333333
334334 if ( experimentKey !== '' && variationKey !== '' ) {
335335 variationId = projectConfig . getVariationIdFromExperimentAndVariationKey ( configObj , experimentKey , variationKey ) ;
You can’t perform that action at this time.
0 commit comments