5 lines
No EOL
108 B
TypeScript
5 lines
No EOL
108 B
TypeScript
// @target: es6
|
|
class C {
|
|
get x(): <T>(a: T) => T { return null; }
|
|
set x(p: <U>(a: U) => U) {}
|
|
} |