TypeScript/tests/baselines/reference/asyncUseStrict_es6.types

21 lines
413 B
Plaintext

=== tests/cases/conformance/async/es6/asyncUseStrict_es6.ts ===
declare var a: boolean;
>a : boolean
declare var p: Promise<boolean>;
>p : Promise<boolean>
async function func(): Promise<void> {
>func : () => Promise<void>
"use strict";
>"use strict" : "use strict"
var b = await p || a;
>b : boolean
>await p || a : boolean
>await p : boolean
>p : Promise<boolean>
>a : boolean
}