mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
262 B
TypeScript
21 lines
262 B
TypeScript
//// [tests/cases/compiler/argumentsPropertyNameInJsMode2.ts] ////
|
|
|
|
//// [a.js]
|
|
function f(x) {
|
|
arguments;
|
|
}
|
|
|
|
f(1, 2, 3);
|
|
|
|
|
|
//// [a.js]
|
|
"use strict";
|
|
function f(x) {
|
|
arguments;
|
|
}
|
|
f(1, 2, 3);
|
|
|
|
|
|
//// [a.d.ts]
|
|
declare function f(x: any): void;
|