8 lines
No EOL
257 B
Text
8 lines
No EOL
257 B
Text
==== tests/cases/compiler/genericConstructInvocationWithNoTypeArg.ts (1 errors) ====
|
|
interface Foo<T> {
|
|
new (x: number): Foo<T>;
|
|
}
|
|
var f2: Foo<number> = new Foo(3);
|
|
~~~
|
|
!!! Cannot find name 'Foo'.
|
|
|