fix: eslint warning in dev runner
This commit is contained in:
parent
2bf1125b83
commit
868eca4011
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue