summaryrefslogtreecommitdiff
path: root/std/node/_fs/_fs_unlink_test.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-11-24 09:31:10 +1100
committerGitHub <noreply@github.com>2020-11-24 09:31:10 +1100
commit276f5297556097461e0b63f2b958d825c1c857ab (patch)
treec4146607a4646968d03ef804ec573133b2547553 /std/node/_fs/_fs_unlink_test.ts
parent266925d772527c9ba5fbc094e67cade31fc35a47 (diff)
feat(cli): update to TypeScript 4.1 (#7573)
Diffstat (limited to 'std/node/_fs/_fs_unlink_test.ts')
-rw-r--r--std/node/_fs/_fs_unlink_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/node/_fs/_fs_unlink_test.ts b/std/node/_fs/_fs_unlink_test.ts
index 922a1a703..46cde60b1 100644
--- a/std/node/_fs/_fs_unlink_test.ts
+++ b/std/node/_fs/_fs_unlink_test.ts
@@ -6,7 +6,7 @@ Deno.test({
name: "ASYNC: deleting a file",
async fn() {
const file = Deno.makeTempFileSync();
- await new Promise((resolve, reject) => {
+ await new Promise<void>((resolve, reject) => {
unlink(file, (err) => {
if (err) reject(err);
resolve();