We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4f2eba commit 0ae7c3cCopy full SHA for 0ae7c3c
src/function-builder.ts
@@ -154,7 +154,10 @@ export class FunctionBuilder {
154
* same signature as an Express app.
155
*/
156
onRequest: (
157
- handler: (req: https.Request, resp: express.Response) => void
+ handler: (
158
+ req: https.Request,
159
+ resp: express.Response
160
+ ) => void | Promise<void>
161
) => https._onRequestWithOptions(handler, this.options),
162
/**
163
* Declares a callable method for clients to call using a Firebase SDK.
0 commit comments