mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-07-07 17:26:48 -05:00
Merge pull request #6628 from Microsoft/thisTypeAsConstraint
break on 'this' type in hasConstraintReferenceTo
This commit is contained in:
4
tests/cases/compiler/thisTypeAsConstraint.ts
Normal file
4
tests/cases/compiler/thisTypeAsConstraint.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
class C {
|
||||
public m<T extends this>() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user