1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
=== tests/cases/compiler/awaitLiteralValues.ts ===
function awaitString() {
>awaitString : Symbol(awaitString, Decl(awaitLiteralValues.ts, 0, 0))
await 'literal';
}
function awaitNumber() {
>awaitNumber : Symbol(awaitNumber, Decl(awaitLiteralValues.ts, 2, 1))
await 1;
}
function awaitTrue() {
>awaitTrue : Symbol(awaitTrue, Decl(awaitLiteralValues.ts, 6, 1))
await true;
}
function awaitFalse() {
>awaitFalse : Symbol(awaitFalse, Decl(awaitLiteralValues.ts, 10, 1))
await false;
}
function awaitNull() {
>awaitNull : Symbol(awaitNull, Decl(awaitLiteralValues.ts, 14, 1))
await null;
}
function awaitUndefined() {
>awaitUndefined : Symbol(awaitUndefined, Decl(awaitLiteralValues.ts, 18, 1))
await undefined;
>undefined : Symbol(undefined)
}
|