summaryrefslogtreecommitdiff
path: root/cli/tests/012_async.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/012_async.ts')
-rw-r--r--cli/tests/012_async.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/012_async.ts b/cli/tests/012_async.ts
index 773272ca1..536197b68 100644
--- a/cli/tests/012_async.ts
+++ b/cli/tests/012_async.ts
@@ -1,6 +1,6 @@
// Check that we can use the async keyword.
-async function main(): Promise<void> {
- await new Promise((resolve): void => {
+async function main() {
+ await new Promise((resolve) => {
console.log("2");
setTimeout(resolve, 100);
});