TypeScript/tests/baselines/reference/asyncUseStrict_es6.types
2016-09-06 18:44:31 -07:00

23 lines
459 B
Plaintext

=== tests/cases/conformance/async/es6/asyncUseStrict_es6.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" : "use strict"
var b = await p || a;
>b : boolean
>await p || a : boolean
>await p : boolean
>p : Promise<boolean>
>a : boolean
}