23 lines
292 B
TypeScript
23 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;
|
|
}
|