11 lines
No EOL
260 B
Text
11 lines
No EOL
260 B
Text
==== tests/cases/compiler/typeOfOnTypeArg.ts (1 errors) ====
|
|
var A = { '': 3 };
|
|
|
|
function fill<B extends typeof A>(f: B) {
|
|
|
|
}
|
|
|
|
fill(32);
|
|
~~~~~~~~
|
|
!!! Supplied parameters do not match any signature of call target.
|
|
|