@@ -872,6 +872,7 @@ namespace ts {
872872 case SyntaxKind.SourceFile:
873873 if (!isExternalOrCommonJsModule(<SourceFile>location)) break;
874874 isInExternalModule = true;
875+ // falls through
875876 case SyntaxKind.ModuleDeclaration:
876877 const moduleExports = getSymbolOfNode(location).exports;
877878 if (location.kind === SyntaxKind.SourceFile || isAmbientModule(location)) {
@@ -1872,6 +1873,7 @@ namespace ts {
18721873 if (!isExternalOrCommonJsModule(<SourceFile>location)) {
18731874 break;
18741875 }
1876+ // falls through
18751877 case SyntaxKind.ModuleDeclaration:
18761878 if (result = callback(getSymbolOfNode(location).exports)) {
18771879 return result;
@@ -3592,7 +3594,7 @@ namespace ts {
35923594 // If the binding pattern is empty, this variable declaration is not visible
35933595 return false;
35943596 }
3595- // Otherwise fall through
3597+ // falls through
35963598 case SyntaxKind.ModuleDeclaration:
35973599 case SyntaxKind.ClassDeclaration:
35983600 case SyntaxKind.InterfaceDeclaration:
@@ -3623,7 +3625,8 @@ namespace ts {
36233625 // Private/protected properties/methods are not visible
36243626 return false;
36253627 }
3626- // Public properties/methods are visible if its parents are visible, so const it fall into next case statement
3628+ // Public properties/methods are visible if its parents are visible, so
3629+ // falls through
36273630
36283631 case SyntaxKind.Constructor:
36293632 case SyntaxKind.ConstructSignature:
@@ -20863,7 +20866,7 @@ namespace ts {
2086320866 }
2086420867 break;
2086520868 }
20866- // fallthrough
20869+ // falls through
2086720870 case SyntaxKind.ClassDeclaration:
2086820871 case SyntaxKind.EnumDeclaration:
2086920872 case SyntaxKind.FunctionDeclaration:
@@ -21498,6 +21501,7 @@ namespace ts {
2149821501 if (!isExternalOrCommonJsModule(<SourceFile>location)) {
2149921502 break;
2150021503 }
21504+ // falls through
2150121505 case SyntaxKind.ModuleDeclaration:
2150221506 copySymbols(getSymbolOfNode(location).exports, meaning & SymbolFlags.ModuleMember);
2150321507 break;
@@ -21509,7 +21513,8 @@ namespace ts {
2150921513 if (className) {
2151021514 copySymbol(location.symbol, meaning);
2151121515 }
21512- // fall through; this fall-through is necessary because we would like to handle
21516+ // falls through
21517+ // this fall-through is necessary because we would like to handle
2151321518 // type parameter inside class expression similar to how we handle it in classDeclaration and interface Declaration
2151421519 case SyntaxKind.ClassDeclaration:
2151521520 case SyntaxKind.InterfaceDeclaration:
@@ -21795,7 +21800,7 @@ namespace ts {
2179521800 return sig.thisParameter;
2179621801 }
2179721802 }
21798- // fallthrough
21803+ // falls through
2179921804
2180021805 case SyntaxKind.SuperKeyword:
2180121806 const type = isPartOfExpression(node) ? getTypeOfExpression(<Expression>node) : getTypeFromTypeNode(<TypeNode>node);
@@ -21823,7 +21828,7 @@ namespace ts {
2182321828 if (isInJavaScriptFile(node) && isRequireCall(node.parent, /*checkArgumentIsStringLiteral*/ false)) {
2182421829 return resolveExternalModuleName(node, <LiteralExpression>node);
2182521830 }
21826- // Fall through
21831+ // falls through
2182721832
2182821833 case SyntaxKind.NumericLiteral:
2182921834 // index access
0 commit comments