File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -12760,8 +12760,6 @@ namespace ts {
1276012760 }
1276112761
1276212762 function getSignatureFromDeclaration(declaration: SignatureDeclaration | JSDocSignature): Signature {
12763- const signature = getSignatureOfTypeTag(declaration);
12764- if (signature) return signature;
1276512763 const links = getNodeLinks(declaration);
1276612764 if (!links.resolvedSignature) {
1276712765 const parameters: Symbol[] = [];
@@ -12941,7 +12939,10 @@ namespace ts {
1294112939 continue;
1294212940 }
1294312941 }
12944- result.push(getSignatureFromDeclaration(decl));
12942+ result.push(
12943+ (!(symbol.flags & SymbolFlags.Transient) && getSignatureOfTypeTag(decl)) ||
12944+ getSignatureFromDeclaration(decl)
12945+ );
1294512946 }
1294612947 return result;
1294712948 }
You can’t perform that action at this time.
0 commit comments