TypeScript/tests/baselines/reference/es5-asyncFunction.types
2016-06-14 17:59:44 -07:00

16 lines
253 B
Plaintext

=== tests/cases/compiler/es5-asyncFunction.ts ===
declare var x;
>x : any
async function empty() {
>empty : () => Promise<void>
}
async function singleAwait() {
>singleAwait : () => Promise<void>
await x;
>await x : any
>x : any
}