7 lines
No EOL
252 B
Text
7 lines
No EOL
252 B
Text
==== tests/cases/compiler/duplicateTypeParameters2.ts (1 errors) ====
|
|
class A { public foo() { } }
|
|
class B { public bar() { } }
|
|
|
|
interface I<T extends A, T extends B> {}
|
|
~
|
|
!!! Duplicate identifier 'T'. |