Skip to content

Improve TypeScript definition, refactor definition to CommonJS compatible export #8

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

Merged
merged 2 commits into from
Apr 8, 2019
Merged

Improve TypeScript definition, refactor definition to CommonJS compatible export #8

merged 2 commits into from
Apr 8, 2019

Conversation

BendingBender
Copy link
Contributor

Breaking change:

  • change signature to accept only ReadonlyArray instances instead of ArrayLike because current implementation only works with arrays
  • refactor definition to CommonJS compatible export

@sindresorhus sindresorhus merged commit 9f5bef7 into sindresorhus:master Apr 8, 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.

2 participants