fix: eslint warning in dev runner

This commit is contained in:
M. George Hansen 2021-02-28 08:22:44 -08:00
parent 2bf1125b83
commit 868eca4011
Signed by: mgeorgehansen
SSH key fingerprint: SHA256:JlIGiQLPyQ2RHTH3a2oVlb20Xkh9Glr8DUF4YTXHJxM

View file

@ -166,7 +166,7 @@ const startHttpServer = async (publicDir: string): Promise<http.Server> => {
});
res.end(contents);
});
const listen = async (port?: number): Promise<string> =>
const listen = async (port?: number): Promise<void> =>
new Promise((resolve, reject) => {
httpServer
.once("error", (error) => reject(error))