Skip to content

Conversation

@mjc1283
Copy link
Contributor

@mjc1283 mjc1283 commented Oct 7, 2020

Summary

UserProfileService and several other types were removed by mistake from lib/index.d.ts.

Test plan

Manual testing

Issues

#593

@mjc1283 mjc1283 requested a review from a team as a code owner October 7, 2020 18:02
@mjc1283 mjc1283 linked an issue Oct 7, 2020 that may be closed by this pull request
@mjc1283 mjc1283 removed their assignment Oct 7, 2020
@coveralls
Copy link

coveralls commented Oct 7, 2020

Coverage Status

Coverage remained the same at 96.631% when pulling 17372d1 on mcarroll/restore-user-profile-service-type into 3412e51 on master.

@avifoxi
Copy link

avifoxi commented Oct 7, 2020

Hi @mjc1283 - thanks for addressing so quickly!

I logged this issue + note to optimizely's helpdesk.

I believe every type defined in https://github.com/optimizely/javascript-sdk/blob/master/packages/optimizely-sdk/lib/shared_types.ts was individually exported from the v4 release - can you make that everything is exported in this fix:

  • OptimizelyExperiment
  • OptimizelyVariation
    etc ...

@avifoxi
Copy link

avifoxi commented Oct 7, 2020

thank you!

@yavorona
Copy link
Contributor

yavorona commented Oct 7, 2020

@avifoxi we exported all the interfaces that have been previously defined and exported in the index.d.ts. This should fix the issue. Thanks!

@mjc1283 mjc1283 changed the title fix(TS type defs): Restore UserProfileService type fix(TS type defs): Restore missing types Oct 7, 2020
@mjc1283 mjc1283 merged commit e47db45 into master Oct 7, 2020
@mjc1283 mjc1283 deleted the mcarroll/restore-user-profile-service-type branch October 7, 2020 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Restore exported types defined in shared_types

5 participants