// @target: es2017 // @noEmitHelpers: true declare var a: boolean; declare var p: Promise; async function func(): Promise { "use strict"; var b = await p || a; }