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

Support custom array separator #234

Merged
merged 10 commits into from Feb 13, 2020
Merged

Support custom array separator #234

merged 10 commits into from Feb 13, 2020

Conversation

jpoehnelt
Copy link
Contributor

closes #226

@sindresorhus
Copy link
Owner

Can you add a test for stringify too?

readme.md Outdated Show resolved Hide resolved
readme.md Outdated Show resolved Hide resolved
@sindresorhus
Copy link
Owner

sindresorhus commented Jan 16, 2020

I think we should validate the option. That the given string is exactly one character. And throw a TypeError if not.

Co-Authored-By: Sindre Sorhus <sindresorhus@gmail.com>
@sindresorhus
Copy link
Owner

Don't forget to keep the readme and TS file in sync.

@jpoehnelt
Copy link
Contributor Author

@sindresorhus I made the requested changes.

@jpoehnelt
Copy link
Contributor Author

@sindresorhus just a follow up for a review of changes

@sindresorhus sindresorhus changed the title feat: support for custom array separator Support custom array separator Feb 2, 2020
@sindresorhus
Copy link
Owner

Can you fix the merge conflict?

@jpoehnelt
Copy link
Contributor Author

Conflicts resolved.

@sindresorhus sindresorhus merged commit 7712622 into sindresorhus:master Feb 13, 2020
@sindresorhus
Copy link
Owner

Thanks :)

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.

Add pipe format to the arrayFormat option
2 participants