Skip to content

Commit bee45a1

Browse files
Anmol1696Copilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8686ca9 commit bee45a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integration/helpers/start-function.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const startFunction = (
2121
url: `http://localhost:${port}`,
2222
close: () =>
2323
new Promise<void>((r, rej) =>
24-
server.close((err: any) => (err ? rej(err) : r()))
24+
server.close((err?: Error | null) => (err ? rej(err) : r()))
2525
)
2626
});
2727
});

0 commit comments

Comments
 (0)