TypeScript/tests/cases/compiler/modularizeLibrary_UsingES5LibAndES6ArrayLib.ts
Kanchalai Tanglertsampan eff81b933c Add compiler-baseline tests and associated baselines for --lib flag
Add --lib compiler tests and baselines

Remove old compiler baselines
2016-03-28 14:48:56 -07:00

9 lines
160 B
TypeScript

// @lib: es5,es2015.array
// @target: es5
// No error
function f(x: number, y: number, z: number) {
return Array.from(arguments);
}
f(1, 2, 3);