TypeScript/tests/baselines/reference/thisTypeAsConstraint.types
2016-01-26 10:16:46 -08:00

10 lines
156 B
Plaintext

=== tests/cases/compiler/thisTypeAsConstraint.ts ===
class C {
>C : C
public m<T extends this>() {
>m : <T extends this>() => void
>T : T
}
}