Skip to content

Quickinfo of generic function call should display type argument #4493

Closed
@yuit

Description

@yuit
class B<U, V>{
    public method<G>(arg1: G, arg2: V): U {
        return undefined;
    }
}

var baz = new B<string, string>();
baz./*quickinfo*/method(true, 1); 

At position /*quickinfo*/, quick-info show method to be ...method<G>(arg1: G, arg2, string): string
expect ...method<boolean>(arg1: boolean, arg2, string): string

Metadata

Metadata

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions