16 lines
253 B
Plaintext
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
|
|
}
|