File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -732,14 +732,14 @@ module TypeScript.ASTHelpers {
732732 return false ;
733733 }
734734
735- export function getNameOfIdenfierOrQualifiedName ( name : ISyntaxElement ) : string {
735+ export function getNameOfIdentifierOrQualifiedName ( name : ISyntaxElement ) : string {
736736 if ( name . kind ( ) === SyntaxKind . IdentifierName ) {
737737 return ( < ISyntaxToken > name ) . text ( ) ;
738738 }
739739 else {
740740 Debug . assert ( name . kind ( ) == SyntaxKind . QualifiedName ) ;
741741 var dotExpr = < QualifiedNameSyntax > name ;
742- return getNameOfIdenfierOrQualifiedName ( dotExpr . left ) + "." + getNameOfIdenfierOrQualifiedName ( dotExpr . right ) ;
742+ return getNameOfIdentifierOrQualifiedName ( dotExpr . left ) + "." + getNameOfIdentifierOrQualifiedName ( dotExpr . right ) ;
743743 }
744744 }
745745
Original file line number Diff line number Diff line change @@ -969,7 +969,7 @@ module TypeScript {
969969 this . declFile . WriteLine ( "require(" + ( < ExternalModuleReferenceSyntax > importDeclAST . moduleReference ) . stringLiteral . text ( ) + ");" ) ;
970970 }
971971 else {
972- this . declFile . WriteLine ( ASTHelpers . getNameOfIdenfierOrQualifiedName ( ( < ModuleNameModuleReferenceSyntax > importDeclAST . moduleReference ) . moduleName ) + ";" ) ;
972+ this . declFile . WriteLine ( ASTHelpers . getNameOfIdentifierOrQualifiedName ( ( < ModuleNameModuleReferenceSyntax > importDeclAST . moduleReference ) . moduleName ) + ";" ) ;
973973 }
974974 }
975975 }
@@ -1023,7 +1023,7 @@ module TypeScript {
10231023 this . declFile . Write ( moduleDecl . stringLiteral . text ( ) ) ;
10241024 }
10251025 else {
1026- this . declFile . Write ( ASTHelpers . getNameOfIdenfierOrQualifiedName ( moduleDecl . name ) ) ;
1026+ this . declFile . Write ( ASTHelpers . getNameOfIdentifierOrQualifiedName ( moduleDecl . name ) ) ;
10271027 }
10281028
10291029 this . declFile . WriteLine ( " {" ) ;
You can’t perform that action at this time.
0 commit comments