mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
607 B
Plaintext
16 lines
607 B
Plaintext
asyncArrowFunctionCapturesArguments_es6.ts(4,52): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[]'.
|
|
|
|
|
|
==== asyncArrowFunctionCapturesArguments_es6.ts (1 errors) ====
|
|
class C {
|
|
method() {
|
|
function other() {}
|
|
var fn = async () => await other.apply(this, arguments);
|
|
~~~~~~~~~
|
|
!!! error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[]'.
|
|
}
|
|
}
|
|
|
|
function f() {
|
|
return async () => async () => arguments.length;
|
|
} |