Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typescript declaration style #228

Merged
merged 1 commit into from
Nov 18, 2019

Conversation

aeirola
Copy link
Contributor

@aeirola aeirola commented Oct 30, 2019

The current typescript declarations seem to be a strange mix of global declarations and module declarations. As the package is intended to be used as a module, the appropriate declaration style is to use the export keyword when defining the elements of the module.

This is similar to the style for example the react-redux package types uses.

@bdwain
Copy link
Member

bdwain commented Nov 17, 2019

thanks! Will this make a difference for current users of the types? Would it be a breaking change?

@aeirola
Copy link
Contributor Author

aeirola commented Nov 18, 2019

thanks! Will this make a difference for current users of the types? Would it be a breaking change?

No, shouldn't affect existing users unless they import the library in some really strange and undocumented way.

@bdwain
Copy link
Member

bdwain commented Nov 18, 2019

awesome i'll merge it now then. thanks!

@bdwain bdwain merged commit 022b2a5 into redux-loop:master Nov 18, 2019
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.

None yet

2 participants