@@ -5317,7 +5317,7 @@ module ts {
5317
5317
if ( fullTypeCheck ) {
5318
5318
checkCollisionWithCapturedSuperVariable ( node , node . name ) ;
5319
5319
checkCollisionWithCapturedThisVariable ( node , node . name ) ;
5320
- checkCollistionWithRequireExportsInGeneratedCode ( node , node . name ) ;
5320
+ checkCollisionWithRequireExportsInGeneratedCode ( node , node . name ) ;
5321
5321
checkCollisionWithArgumentsInGeneratedCode ( node ) ;
5322
5322
if ( compilerOptions . noImplicitAny && ! node . type ) {
5323
5323
switch ( node . kind ) {
@@ -6063,7 +6063,7 @@ module ts {
6063
6063
}
6064
6064
}
6065
6065
6066
- function checkCollistionWithRequireExportsInGeneratedCode ( node : Node , name : Identifier ) {
6066
+ function checkCollisionWithRequireExportsInGeneratedCode ( node : Node , name : Identifier ) {
6067
6067
if ( ! needCollisionCheckForIdentifier ( node , name , "require" ) && ! needCollisionCheckForIdentifier ( node , name , "exports" ) ) {
6068
6068
return ;
6069
6069
}
@@ -6108,7 +6108,7 @@ module ts {
6108
6108
6109
6109
checkCollisionWithCapturedSuperVariable ( node , node . name ) ;
6110
6110
checkCollisionWithCapturedThisVariable ( node , node . name ) ;
6111
- checkCollistionWithRequireExportsInGeneratedCode ( node , node . name ) ;
6111
+ checkCollisionWithRequireExportsInGeneratedCode ( node , node . name ) ;
6112
6112
if ( ! useTypeFromValueDeclaration ) {
6113
6113
// TypeScript 1.0 spec (April 2014): 5.1
6114
6114
// Multiple declarations for the same variable name in the same declaration space are permitted,
@@ -6367,7 +6367,7 @@ module ts {
6367
6367
checkTypeNameIsReserved ( node . name , Diagnostics . Class_name_cannot_be_0 ) ;
6368
6368
checkTypeParameters ( node . typeParameters ) ;
6369
6369
checkCollisionWithCapturedThisVariable ( node , node . name ) ;
6370
- checkCollistionWithRequireExportsInGeneratedCode ( node , node . name ) ;
6370
+ checkCollisionWithRequireExportsInGeneratedCode ( node , node . name ) ;
6371
6371
checkExportsOnMergedDeclarations ( node ) ;
6372
6372
var symbol = getSymbolOfNode ( node ) ;
6373
6373
var type = < InterfaceType > getDeclaredTypeOfSymbol ( symbol ) ;
@@ -6618,7 +6618,7 @@ module ts {
6618
6618
6619
6619
checkTypeNameIsReserved ( node . name , Diagnostics . Enum_name_cannot_be_0 ) ;
6620
6620
checkCollisionWithCapturedThisVariable ( node , node . name ) ;
6621
- checkCollistionWithRequireExportsInGeneratedCode ( node , node . name ) ;
6621
+ checkCollisionWithRequireExportsInGeneratedCode ( node , node . name ) ;
6622
6622
checkExportsOnMergedDeclarations ( node ) ;
6623
6623
6624
6624
computeEnumMemberValues ( node ) ;
@@ -6671,7 +6671,7 @@ module ts {
6671
6671
function checkModuleDeclaration ( node : ModuleDeclaration ) {
6672
6672
if ( fullTypeCheck ) {
6673
6673
checkCollisionWithCapturedThisVariable ( node , node . name ) ;
6674
- checkCollistionWithRequireExportsInGeneratedCode ( node , node . name ) ;
6674
+ checkCollisionWithRequireExportsInGeneratedCode ( node , node . name ) ;
6675
6675
checkExportsOnMergedDeclarations ( node ) ;
6676
6676
var symbol = getSymbolOfNode ( node ) ;
6677
6677
if ( symbol . flags & SymbolFlags . ValueModule && symbol . declarations . length > 1 && ! isInAmbientContext ( node ) ) {
@@ -6706,7 +6706,7 @@ module ts {
6706
6706
6707
6707
function checkImportDeclaration ( node : ImportDeclaration ) {
6708
6708
checkCollisionWithCapturedThisVariable ( node , node . name ) ;
6709
- checkCollistionWithRequireExportsInGeneratedCode ( node , node . name ) ;
6709
+ checkCollisionWithRequireExportsInGeneratedCode ( node , node . name ) ;
6710
6710
var symbol = getSymbolOfNode ( node ) ;
6711
6711
var target : Symbol ;
6712
6712
0 commit comments