2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/constructorInvocationWithTooFewTypeArgs.ts(9,9): error TS2346: Supplied parameters do not match any signature of call target.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/constructorInvocationWithTooFewTypeArgs.ts (1 errors) ====
|
|
|
|
class D<T, U> {
|
|
|
|
|
|
|
|
x: T
|
|
|
|
|
|
|
|
y: U
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
var d = new D<number>();
|
|
|
|
~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2346: Supplied parameters do not match any signature of call target.
|
2014-07-13 01:04:16 +02:00
|
|
|
|