diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 409c83573ca..404767aee8b 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -1597,7 +1597,6 @@ namespace ts { } // Unlike a failed import, an untyped module produces a dummy symbol. // This is checked for by `isUntypedOrShorthandAmbientModuleSymbol`. - // This must be different than `unknownSymbol` because `getBaseConstructorTypeOfClass` won't fail for `unknownSymbol`. return untypedModuleSymbol; }