We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54a944c commit 1ba6019Copy full SHA for 1ba6019
src/app.ts
@@ -36,7 +36,7 @@ export interface AppUse {
36
(options: InputLayer): App
37
}
38
39
-export type NodeHandler = (req: http.IncomingMessage, res: http.ServerResponse) => void | Promise<void>
+export type NodeHandler = (req: http.IncomingMessage, res: http.ServerResponse) => Promise<void>
40
41
export interface App extends NodeHandler {
42
stack: Stack
0 commit comments