Skip to content

Conversation

mjc1283
Copy link
Contributor

@mjc1283 mjc1283 commented Jun 10, 2019

Summary

The interface DatafileManager, defined in src/datafileManager.ts, is exported from src/index.node.ts and src/index.browser.ts.

However, in each of these top-level entry points, another export statement appears below, which exports something else (the actual implementation of the datafile manager), using the same name.

To avoid the name conflict, we rename the exports of the datafile manager implementations from DatafileManager to HttpPollingDatafileManager.

Test plan

Updated unit tests

Issues

https://optimizely.atlassian.net/browse/OASIS-4715

Matt Carroll added 2 commits June 10, 2019 15:54
@mjc1283 mjc1283 requested review from a team, jordangarcia and mikeproeng37 June 10, 2019 23:33
@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.6% when pulling 66909c2 on mcarroll/OASIS-4715 into d0ac882 on master.

Copy link
Contributor

@mikeproeng37 mikeproeng37 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mjc1283 mjc1283 merged commit efdaf3e into master Jun 11, 2019
@mjc1283 mjc1283 deleted the mcarroll/OASIS-4715 branch June 11, 2019 20:54
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.

4 participants