mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
12 lines
209 B
TypeScript
12 lines
209 B
TypeScript
|
// @target: ES5
|
||
|
// @lib: es5,es2015.promise
|
||
|
// @noEmitHelpers: true
|
||
|
class C {
|
||
|
method() {
|
||
|
function other() {}
|
||
|
async function fn () {
|
||
|
await other.apply(this, arguments);
|
||
|
}
|
||
|
}
|
||
|
}
|