Skip to content

Commit 8e54c62

Browse files
author
Yui T
committed
Fix spelling
1 parent 296e8e0 commit 8e54c62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/compiler/checker.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5669,7 +5669,7 @@ module ts {
56695669
// names and consistency of modifiers are verified when we check local symbol
56705670
var isExportSymbolInsideModule = symbol.parent && symbol.parent.flags & SymbolFlags.Module;
56715671
var duplicateFunctionDeclaration = false;
5672-
var multipleConstructorImplemenation = false;
5672+
var multipleConstructorImplementation = false;
56735673
for (var i = 0; i < declarations.length; i++) {
56745674
var node = <FunctionDeclaration>declarations[i];
56755675
var inAmbientContext = isInAmbientContext(node);
@@ -5692,7 +5692,7 @@ module ts {
56925692

56935693
if (node.body && bodyDeclaration) {
56945694
if (isConstructor) {
5695-
multipleConstructorImplemenation = true;
5695+
multipleConstructorImplementation = true;
56965696
}
56975697
else {
56985698
duplicateFunctionDeclaration = true;
@@ -5719,7 +5719,7 @@ module ts {
57195719
}
57205720
}
57215721

5722-
if (multipleConstructorImplemenation) {
5722+
if (multipleConstructorImplementation) {
57235723
forEach(declarations, declaration => {
57245724
error(declaration, Diagnostics.Multiple_constructor_implementations_are_not_allowed);
57255725
});

0 commit comments

Comments
 (0)