cr feedback.

This commit is contained in:
Cyrus Najmabadi 2014-11-14 16:39:48 -08:00
parent 3c9eea2df0
commit ba2e4bff10

View file

@ -94,11 +94,15 @@ module ts {
}
switch (node.kind) {
case SyntaxKind.ConstructorType:
case SyntaxKind.Constructor: return "__constructor";
case SyntaxKind.Constructor:
return "__constructor";
case SyntaxKind.FunctionType:
case SyntaxKind.CallSignature: return "__call";
case SyntaxKind.ConstructSignature: return "__new";
case SyntaxKind.IndexSignature: return "__index";
case SyntaxKind.CallSignature:
return "__call";
case SyntaxKind.ConstructSignature:
return "__new";
case SyntaxKind.IndexSignature:
return "__index";
}
}