Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

fix: avoid array.prototype.flat #15

Merged
merged 1 commit into from
Mar 4, 2020
Merged

fix: avoid array.prototype.flat #15

merged 1 commit into from
Mar 4, 2020

Conversation

robinmetral
Copy link
Contributor

Update tsconfig to reflect that we are using ES2018 (Node 10). Array.prototype.flat is only available in Node 11. Instead of using a polyfill, we will use concat to flatten the array of object arrays

Update tsconfig to reflect that we are using ES2018 (Node 10). Array.prototype.flat is only available in Node 11. Instead of using a polyfill, we will use concat to flatten the array of object arrays
@robinmetral robinmetral merged commit 585dd97 into master Mar 4, 2020
@robinmetral robinmetral deleted the fix-flat branch March 4, 2020 20:32
@robinmetral
Copy link
Contributor Author

🎉 This PR is included in version 1.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant