2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/errorTypesAsTypeArguments.ts(2,16): error TS2304: Cannot find name 'B'.
|
|
|
|
tests/cases/compiler/errorTypesAsTypeArguments.ts(2,25): error TS2304: Cannot find name 'C'.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/errorTypesAsTypeArguments.ts (2 errors) ====
|
|
|
|
interface Foo<A> {
|
|
|
|
bar(baz: Foo<B>): Foo<C>;
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'B'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'C'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|