6 lines
79 B
TypeScript
6 lines
79 B
TypeScript
|
class A<T> { }
|
||
|
|
||
|
var x: () => A;
|
||
|
(a: A) => { };
|
||
|
var y: A<A>;
|
||
|
(): A => null;
|