2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/genericConstructInvocationWithNoTypeArg.ts(4,27): error TS2304: Cannot find name 'Foo'.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/genericConstructInvocationWithNoTypeArg.ts (1 errors) ====
|
|
|
|
interface Foo<T> {
|
|
|
|
new (x: number): Foo<T>;
|
|
|
|
}
|
|
|
|
var f2: Foo<number> = new Foo(3);
|
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'Foo'.
|
2014-07-13 01:04:16 +02:00
|
|
|
|