TypeScript/tests/baselines/reference/constructorInvocationWithTooFewTypeArgs.errors.txt

13 lines
296 B
Plaintext
Raw Normal View History

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>();
~~~~~~~~~~~~~~~
!!! Supplied parameters do not match any signature of call target.