We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
createLambdaFunction
1 parent 768adb3 commit 6a0dd6fCopy full SHA for 6a0dd6f
.github/workflows/test.yml
@@ -1,6 +1,10 @@
1
name: Test
2
-
3
-on: [push]
+on:
+ push:
4
+ branches:
5
+ - main
6
+ pull_request:
7
+ types: [opened, synchronize]
8
9
jobs:
10
test_matrix:
index.d.ts
@@ -1,10 +1,17 @@
import { Probot } from "probot";
-import { APIGatewayProxyHandler } from "aws-lambda";
+import {
+ APIGatewayProxyEvent,
+ APIGatewayProxyResult,
+ Context,
+} from "aws-lambda";
import { ApplicationFunction } from "probot/lib/types";
export * from "probot";
11
export function createLambdaFunction(
12
app: ApplicationFunction,
13
options: { probot: Probot }
-): APIGatewayProxyHandler;
14
+): (
15
+ event: APIGatewayProxyEvent,
16
+ context: Context
17
+) => Promise<APIGatewayProxyResult>;
0 commit comments