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