TypeScript/tests/cases/compiler/arguments.ts

15 lines
348 B
TypeScript
Raw Normal View History

// @target: ES6
2014-07-13 01:04:16 +02:00
function f() {
var x=arguments[12];
(() => arguments)();
}
(() => arguments)();
interface I {
method(args: typeof arguments): void;
fn: (args: typeof arguments) => void;
(args: typeof arguments): void;
new (args: typeof arguments): void;
construct: new (args: typeof arguments) => void;
2014-07-13 01:04:16 +02:00
}