diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index eac5d563357..c279786c686 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -5372,7 +5372,8 @@ module ts { let constructSignatures: Signature[]; if (rightType.flags & TypeFlags.Interface) { constructSignatures = (rightType).declaredConstructSignatures; - } else if (rightType.flags & TypeFlags.Anonymous) { + } + else if (rightType.flags & TypeFlags.Anonymous) { constructSignatures = (rightType).constructSignatures; }