2015-05-07 02:33:58 +02:00
|
|
|
//// [asyncArrowFunctionCapturesThis_es6.ts]
|
|
|
|
class C {
|
|
|
|
method() {
|
|
|
|
var fn = async () => await this;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//// [asyncArrowFunctionCapturesThis_es6.js]
|
|
|
|
class C {
|
|
|
|
method() {
|
2015-06-20 01:01:12 +02:00
|
|
|
var fn = () => __awaiter(this, void 0, Promise, function* () { return yield this; });
|
2015-05-07 02:33:58 +02:00
|
|
|
}
|
|
|
|
}
|