Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 94ec751

Browse files
committedJun 27, 2020
bump is-reference@1.2.1 + fix types
1 parent 59acd4b commit 94ec751

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed
 

‎package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/compiler/compile/nodes/shared/Context.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ export function unpack_destructuring(contexts: Context[], node: Node, modifier:
4343
node => x`@object_without_properties(${modifier(node)}, [${used_properties}])` as Node
4444
);
4545
} else {
46-
const key = property.key as Identifier;
47-
const value = property.value;
46+
const key = props.key as Identifier;
47+
const value = props.value;
4848

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

0 commit comments

Comments
 (0)
Please sign in to comment.