Skip to content

Commit

Permalink
Experiment: cast objects to string (eliminates one Map/object differe…
Browse files Browse the repository at this point in the history
  • Loading branch information
jayaddison committed Jul 7, 2020
1 parent 85689f2 commit a4035c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-plugin-transform-block-scoping/src/index.js
Expand Up @@ -340,7 +340,7 @@ const loopVisitor = {

function extendMap(map, obj) {
for (const key of Object.keys(obj)) {
map.set(key, obj[key]);
map.set(key, String(obj[key]));
}
}

Expand Down

0 comments on commit a4035c8

Please sign in to comment.