CR feedback.

This commit is contained in:
Cyrus Najmabadi
2015-03-06 18:51:58 -08:00
parent a76eb69996
commit 7f00378eef

View File

@@ -399,13 +399,14 @@ module ts {
export function isVariableLike(node: Node): boolean {
if (node) {
switch (node.kind) {
case SyntaxKind.VariableDeclaration:
case SyntaxKind.Parameter:
case SyntaxKind.BindingElement:
case SyntaxKind.PropertyDeclaration:
case SyntaxKind.PropertyAssignment:
case SyntaxKind.ShorthandPropertyAssignment:
case SyntaxKind.EnumMember:
case SyntaxKind.Parameter:
case SyntaxKind.PropertyAssignment:
case SyntaxKind.PropertyDeclaration:
case SyntaxKind.PropertySignature:
case SyntaxKind.ShorthandPropertyAssignment:
case SyntaxKind.VariableDeclaration:
return true;
}
}