15 lines
242 B
Text
15 lines
242 B
Text
=== tests/cases/compiler/fillInMissingTypeArgsOnConstructCalls.ts ===
|
|
class A<T extends Object>{
|
|
>A : A<T>
|
|
>T : T
|
|
>Object : Object
|
|
|
|
list: T ;
|
|
>list : T
|
|
>T : T
|
|
}
|
|
var a = new A();
|
|
>a : A<{}>
|
|
>new A() : A<{}>
|
|
>A : typeof A
|
|
|