mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
296 B
TypeScript
24 lines
296 B
TypeScript
//// [tests/cases/compiler/argumentsReferenceInMethod7_Js.ts] ////
|
|
|
|
//// [a.js]
|
|
class A {
|
|
m() {
|
|
/**
|
|
* @type Function
|
|
*/
|
|
this.callee = arguments.callee;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
//// [a.d.ts]
|
|
declare class A {
|
|
/**
|
|
* @type Function
|
|
*/
|
|
callee: Function;
|
|
m(): void;
|
|
}
|