23 lines
588 B
Plaintext
23 lines
588 B
Plaintext
=== tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunctionCapturesArguments_es6.ts ===
|
|
class C {
|
|
>C : C
|
|
|
|
method() {
|
|
>method : () => void
|
|
|
|
function other() {}
|
|
>other : () => void
|
|
|
|
var fn = async () => await other.apply(this, arguments);
|
|
>fn : () => Promise<any>
|
|
>async () => await other.apply(this, arguments) : () => Promise<any>
|
|
>other.apply(this, arguments) : any
|
|
>other.apply : (thisArg: any, argArray?: any) => any
|
|
>other : () => void
|
|
>apply : (thisArg: any, argArray?: any) => any
|
|
>this : C
|
|
>arguments : IArguments
|
|
}
|
|
}
|
|
|