diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index a3f3eee44b7..83286caf782 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -12748,12 +12748,6 @@ namespace ts { if (typeNode) { return getTypeFromTypeNode(typeNode); } - if (isInJavaScriptFile(declaration)) { - const jsDocType = getTypeForDeclarationFromJSDocComment(declaration); - if (jsDocType) { - return jsDocType; - } - } if (declaration.kind === SyntaxKind.Parameter) { const type = getContextuallyTypedParameterType(declaration); if (type) {