13 lines
No EOL
296 B
Text
13 lines
No EOL
296 B
Text
==== 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.
|
|
|