File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2950,7 +2950,7 @@ namespace ts {
29502950 /* @internal */ export function getNodeKind ( node : Node ) : string {
29512951 switch ( node . kind ) {
29522952 case SyntaxKind . SourceFile :
2953- return isExternalModule ( < SourceFile > node ) ? ScriptElementKind . moduleElement : ScriptElementKind . scriptElement ;
2953+ return isExternalModule ( < SourceFile > node ) ? ScriptElementKind . moduleElement : ScriptElementKind . scriptElement ;
29542954 case SyntaxKind . ModuleDeclaration :
29552955 return ScriptElementKind . moduleElement ;
29562956 case SyntaxKind . ClassDeclaration :
@@ -2960,9 +2960,9 @@ namespace ts {
29602960 case SyntaxKind . TypeAliasDeclaration : return ScriptElementKind . typeElement ;
29612961 case SyntaxKind . EnumDeclaration : return ScriptElementKind . enumElement ;
29622962 case SyntaxKind . VariableDeclaration :
2963- return getKindOfVariableDeclaration ( < VariableDeclaration > node ) ;
2963+ return getKindOfVariableDeclaration ( < VariableDeclaration > node ) ;
29642964 case SyntaxKind . BindingElement :
2965- return getKindOfVariableDeclaration ( < VariableDeclaration > getRootDeclaration ( node ) ) ;
2965+ return getKindOfVariableDeclaration ( < VariableDeclaration > getRootDeclaration ( node ) ) ;
29662966 case SyntaxKind . ArrowFunction :
29672967 case SyntaxKind . FunctionDeclaration :
29682968 case SyntaxKind . FunctionExpression :
You can’t perform that action at this time.
0 commit comments