From 8e54c62f9e11e90ab97e9ef75ff34d0de946cd88 Mon Sep 17 00:00:00 2001 From: Yui T Date: Wed, 1 Oct 2014 14:16:55 -0700 Subject: [PATCH] Fix spelling --- src/compiler/checker.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index f1de90565a3..7411a9c50b9 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -5669,7 +5669,7 @@ module ts { // names and consistency of modifiers are verified when we check local symbol var isExportSymbolInsideModule = symbol.parent && symbol.parent.flags & SymbolFlags.Module; var duplicateFunctionDeclaration = false; - var multipleConstructorImplemenation = false; + var multipleConstructorImplementation = false; for (var i = 0; i < declarations.length; i++) { var node = declarations[i]; var inAmbientContext = isInAmbientContext(node); @@ -5692,7 +5692,7 @@ module ts { if (node.body && bodyDeclaration) { if (isConstructor) { - multipleConstructorImplemenation = true; + multipleConstructorImplementation = true; } else { duplicateFunctionDeclaration = true; @@ -5719,7 +5719,7 @@ module ts { } } - if (multipleConstructorImplemenation) { + if (multipleConstructorImplementation) { forEach(declarations, declaration => { error(declaration, Diagnostics.Multiple_constructor_implementations_are_not_allowed); });