mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
9 lines
209 B
TypeScript
9 lines
209 B
TypeScript
// @target: ES5
|
|
// @lib: es5,es2015.promise
|
|
// @noEmitHelpers: true
|
|
declare var a: boolean;
|
|
declare var p: Promise<boolean>;
|
|
async function func(): Promise<void> {
|
|
"use strict";
|
|
var b = await p || a;
|
|
} |