* Merge array, function, math, number, object, regexp, string into es2015.core * Update baselines * Add node.d.ts; need to fix head of the output * Update unittests from add node as an option for --lib * Move interface declaration into NodeJS namespace * Add console into Node.d.ts * Add compiler baseline-tests for using --lib node * Change name from full.es2015 to es6. This is a es6 library file used when no --lib is specified and --target is es6 * Remove add node.d.ts into src/lib Remove node.d.ts Revert "Update unittests from add node as an option for --lib" This reverts commit5169273680
. Revert "Add compiler baseline-tests for using --lib node" This reverts commit17e437b4c7
.
9 lines
159 B
TypeScript
9 lines
159 B
TypeScript
// @lib: es5,es2015.core
|
|
// @target: es5
|
|
|
|
// No error
|
|
function f(x: number, y: number, z: number) {
|
|
return Array.from(arguments);
|
|
}
|
|
|
|
f(1, 2, 3); |