We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dae8f7 commit d392f1eCopy full SHA for d392f1e
src/compiler/checker.ts
@@ -12748,12 +12748,6 @@ namespace ts {
12748
if (typeNode) {
12749
return getTypeFromTypeNode(typeNode);
12750
}
12751
- if (isInJavaScriptFile(declaration)) {
12752
- const jsDocType = getTypeForDeclarationFromJSDocComment(declaration);
12753
- if (jsDocType) {
12754
- return jsDocType;
12755
- }
12756
12757
if (declaration.kind === SyntaxKind.Parameter) {
12758
const type = getContextuallyTypedParameterType(<ParameterDeclaration>declaration);
12759
if (type) {
0 commit comments