File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2950,7 +2950,7 @@ namespace ts {
2950
2950
/* @internal */ export function getNodeKind ( node : Node ) : string {
2951
2951
switch ( node . kind ) {
2952
2952
case SyntaxKind . SourceFile :
2953
- return isExternalModule ( < SourceFile > node ) ? ScriptElementKind . moduleElement : ScriptElementKind . scriptElement ;
2953
+ return isExternalModule ( < SourceFile > node ) ? ScriptElementKind . moduleElement : ScriptElementKind . scriptElement ;
2954
2954
case SyntaxKind . ModuleDeclaration :
2955
2955
return ScriptElementKind . moduleElement ;
2956
2956
case SyntaxKind . ClassDeclaration :
@@ -2960,9 +2960,9 @@ namespace ts {
2960
2960
case SyntaxKind . TypeAliasDeclaration : return ScriptElementKind . typeElement ;
2961
2961
case SyntaxKind . EnumDeclaration : return ScriptElementKind . enumElement ;
2962
2962
case SyntaxKind . VariableDeclaration :
2963
- return getKindOfVariableDeclaration ( < VariableDeclaration > node ) ;
2963
+ return getKindOfVariableDeclaration ( < VariableDeclaration > node ) ;
2964
2964
case SyntaxKind . BindingElement :
2965
- return getKindOfVariableDeclaration ( < VariableDeclaration > getRootDeclaration ( node ) ) ;
2965
+ return getKindOfVariableDeclaration ( < VariableDeclaration > getRootDeclaration ( node ) ) ;
2966
2966
case SyntaxKind . ArrowFunction :
2967
2967
case SyntaxKind . FunctionDeclaration :
2968
2968
case SyntaxKind . FunctionExpression :
You can’t perform that action at this time.
0 commit comments