24 lines
292 B
TypeScript
24 lines
292 B
TypeScript
|
function awaitString() {
|
||
|
await 'literal';
|
||
|
}
|
||
|
|
||
|
function awaitNumber() {
|
||
|
await 1;
|
||
|
}
|
||
|
|
||
|
function awaitTrue() {
|
||
|
await true;
|
||
|
}
|
||
|
|
||
|
function awaitFalse() {
|
||
|
await false;
|
||
|
}
|
||
|
|
||
|
function awaitNull() {
|
||
|
await null;
|
||
|
}
|
||
|
|
||
|
function awaitUndefined() {
|
||
|
await undefined;
|
||
|
}
|