TypeScript/tests/baselines/reference/argumentsReferenceInConstructor7_Js.js

22 lines
254 B
TypeScript

//// [a.js]
class A {
constructor() {
/**
* @type Function
*/
this.callee = arguments.callee;
}
}
//// [a.d.ts]
declare class A {
constructor(...args: any[]);
/**
* @type Function
*/
callee: Function;
}