Skip to content

Commit

Permalink
bump is-reference@1.2.1 + fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhauhau committed Jun 27, 2020
1 parent 59acd4b commit 94ec751
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/compiler/compile/nodes/shared/Context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export function unpack_destructuring(contexts: Context[], node: Node, modifier:
node => x`@object_without_properties(${modifier(node)}, [${used_properties}])` as Node
);
} else {
const key = property.key as Identifier;
const value = property.value;
const key = props.key as Identifier;
const value = props.value;

used_properties.push(x`"${(key as Identifier).name}"`);
if (value.type === 'AssignmentPattern') {
Expand Down

0 comments on commit 94ec751

Please sign in to comment.