Skip to content

Commit dfc952b

Browse files
committed
[INTERNAL] ASTUtils: Add todo for SpreadElement support
1 parent 65c2743 commit dfc952b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/lbt/utils/ASTUtils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ function isIdentifier(node, name) {
6363

6464
function getPropertyKey(property) {
6565
if ( property.type === Syntax.SpreadElement ) {
66+
// TODO: Support interpreting SpreadElements
6667
return;
6768
} else if ( property.key.type === Syntax.Identifier && property.computed !== true ) {
6869
return property.key.name;

0 commit comments

Comments
 (0)