Skip to content

Commit

Permalink
Switch all 'for..of' loops to assume they iterating only arrays (#2099)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Aug 20, 2019
1 parent 493a9b6 commit fb06d0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .babelrc.js
Expand Up @@ -6,6 +6,7 @@ module.exports = {
['@babel/plugin-transform-classes', { loose: true }],
['@babel/plugin-transform-destructuring', { loose: true }],
['@babel/plugin-transform-spread', { loose: true }],
['@babel/plugin-transform-for-of', { assumeArray: true }],
],
env: {
cjs: {
Expand Down

0 comments on commit fb06d0b

Please sign in to comment.