Skip to content

type information tooltips stopped making sense - 2 #12066

Closed
@zpdDG4gta8XKpMCd

Description

@zpdDG4gta8XKpMCd

followup of #10337

nightly build of Nov 5, 2016

CASE 1

export interface X<A> {
    a: A;
}
export interface Y<B> {
    b: B;
}
export type Z<A, B> = X<A> | Y<B>;

declare function f<A>(): Z<A, number>;
const result = f<string>(); // expected Z<string, number>, actual Z<string>

Metadata

Metadata

Assignees

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