We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
createLambdaFunction()
1 parent 2ee0c04 commit b79e59cCopy full SHA for b79e59c
index.d.ts
@@ -14,14 +14,6 @@ export function createLambdaFunction(
14
app: ApplicationFunction,
15
options: { probot: Probot }
16
): (
17
- event: APIGatewayProxyEvent,
+ event: APIGatewayProxyEvent | LambdaFunctionURLEvent,
18
context: Context
19
-) => Promise<APIGatewayProxyResult>;
20
-
21
-export function createLambdaFunction(
22
- app: ApplicationFunction,
23
- options: { probot: Probot }
24
-): (
25
- event: LambdaFunctionURLEvent,
26
- context: Context
27
-) => Promise<LambdaFunctionURLResult>;
+) => Promise<APIGatewayProxyResult | LambdaFunctionURLResult>;
0 commit comments