7 lines
136 B
TypeScript
7 lines
136 B
TypeScript
|
// @declaration: true
|
||
|
class C<T> { private x: T; }
|
||
|
interface X { f(): string; }
|
||
|
interface Y { f(): boolean; }
|
||
|
var a: C<X>;
|
||
|
var b: C<Y>;
|