diff --git a/index.d.ts b/index.d.ts index 37c690e..1a6639e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -14,14 +14,6 @@ export function createLambdaFunction( app: ApplicationFunction, options: { probot: Probot } ): ( - event: APIGatewayProxyEvent, + event: APIGatewayProxyEvent | LambdaFunctionURLEvent, context: Context -) => Promise; - -export function createLambdaFunction( - app: ApplicationFunction, - options: { probot: Probot } -): ( - event: LambdaFunctionURLEvent, - context: Context -) => Promise; +) => Promise;