13 lines
296 B
Plaintext
13 lines
296 B
Plaintext
|
==== tests/cases/compiler/constructorInvocationWithTooFewTypeArgs.ts (1 errors) ====
|
||
|
class D<T, U> {
|
||
|
|
||
|
x: T
|
||
|
|
||
|
y: U
|
||
|
|
||
|
}
|
||
|
|
||
|
var d = new D<number>();
|
||
|
~~~~~~~~~~~~~~~
|
||
|
!!! Supplied parameters do not match any signature of call target.
|
||
|
|