TypeScript/tests/baselines/reference/typeOfOnTypeArg.js
2014-07-12 17:30:19 -07:00

16 lines
189 B
JavaScript

//// [typeOfOnTypeArg.ts]
var A = { '': 3 };
function fill<B extends typeof A>(f: B) {
}
fill(32);
//// [typeOfOnTypeArg.js]
var A = { '': 3 };
function fill(f) {
}
fill(32);