9 lines
156 B
Text
9 lines
156 B
Text
=== tests/cases/compiler/thisTypeAsConstraint.ts ===
|
|
class C {
|
|
>C : C
|
|
|
|
public m<T extends this>() {
|
|
>m : <T extends this>() => void
|
|
>T : T
|
|
}
|
|
}
|