TypeScript/tests/cases/conformance/async/es6/asyncUseStrict_es6.ts

8 lines
188 B
TypeScript

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