mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
fix(55765): Implement Interface Code Action is not available under certain circumstances (#55767)
This commit is contained in:
1 parent
72c12c9920
commit
017c1e0e64
2 files changed
+28
-1
No files matched your search
@@ -397,7 +397,7 @@ export function createSignatureDeclarationFromSignature(
|
||||
|
||||
let typeParameters = isJs ? undefined : signatureDeclaration.typeParameters;
|
||||
let parameters = signatureDeclaration.parameters;
|
||||
let type = isJs ? undefined : signatureDeclaration.type;
|
||||
let type = isJs ? undefined : getSynthesizedDeepClone(signatureDeclaration.type);
|
||||
if (importAdder) {
|
||||
if (typeParameters) {
|
||||
const newTypeParameters = sameMap(typeParameters, typeParameterDecl => {
|
||||
|
||||
Reference in new issue
Block a user