TypeScript/tests/baselines/reference/asyncUseStrict_es5.types

23 lines
453 B
Plaintext

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