mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
14 lines
416 B
TypeScript
14 lines
416 B
TypeScript
|
// @target: ES6
|
||
|
// @noEmitHelpers: true
|
||
|
declare let a: number | string;
|
||
|
declare let b: PromiseLike<number> | PromiseLike<string>;
|
||
|
declare let c: PromiseLike<number | string>;
|
||
|
declare let d: number | PromiseLike<string>;
|
||
|
declare let e: number | PromiseLike<number | string>;
|
||
|
async function f() {
|
||
|
let await_a = await a;
|
||
|
let await_b = await b;
|
||
|
let await_c = await c;
|
||
|
let await_d = await d;
|
||
|
let await_e = await e;
|
||
|
}
|