mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
286 B
Plaintext
14 lines
286 B
Plaintext
//// [tests/cases/compiler/castOfAwait.ts] ////
|
|
|
|
=== castOfAwait.ts ===
|
|
async function f() {
|
|
>f : Symbol(f, Decl(castOfAwait.ts, 0, 0))
|
|
|
|
<number> await 0;
|
|
typeof await 0;
|
|
void await 0;
|
|
await void <string> typeof <number> void await 0;
|
|
await await 0;
|
|
}
|
|
|