We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e93d28 commit 83c35adCopy full SHA for 83c35ad
src/compiler/parser.ts
@@ -411,7 +411,7 @@ module ts {
411
while (true) {
412
node = node.parent;
413
if (!node) {
414
- return node;
+ return undefined;
415
}
416
switch (node.kind) {
417
case SyntaxKind.ArrowFunction:
@@ -438,7 +438,7 @@ module ts {
438
439
440
441
442
443
444
case SyntaxKind.Property:
0 commit comments