TypeScript/tests/cases/compiler/typeParameterEquality.ts

5 lines
108 B
TypeScript
Raw Normal View History

2015-10-24 00:45:45 +02:00
// @target: es6
class C {
get x(): <T>(a: T) => T { return null; }
set x(p: <U>(a: U) => U) {}
}