mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 22:22:34 +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;
|
|
} |