Skip to content

Include esnext in lib #2045

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
Aug 6, 2018
Merged

Include esnext in lib #2045

merged 2 commits into from
Aug 6, 2018

Conversation

ffxsam
Copy link
Contributor

@ffxsam ffxsam commented Aug 2, 2018

TypeScript was complaining about Array.includes not existing. Having esnext as a target isn't sufficient.

TypeScript was complaining about `Array.includes` not existing. Having `esnext` as a target isn't sufficient.
@@ -27,6 +27,9 @@
},
"lib": [
"es2015",
<%_ if (options.useTsWithBabel) { _%>
"esnext",
Copy link
Member

Choose a reason for hiding this comment

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

When we include esnext, es2015 is not needed because esnext lib file includes es2015.

@yyx990803 yyx990803 merged commit 5838096 into vuejs:dev Aug 6, 2018
@ffxsam ffxsam deleted the patch-1 branch August 6, 2018 20:52
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.

3 participants