We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d81066e + 9ada1b1 commit a0b4404Copy full SHA for a0b4404
src/decorator/handler/index.ts
@@ -1,7 +1,6 @@
1
import * as handlers from "../../handler";
2
-import { APIGatewayProxyEvent, Context, APIGatewayProxyResult } from "aws-lambda";
3
4
-type Handler = (event: APIGatewayProxyEvent, context: Context) => Promise<APIGatewayProxyResult>;
+type Handler = (_target: unknown, _propertyName: string, propertyDescriptor: PropertyDescriptor) => PropertyDescriptor;
5
6
export function APIGatewayProxyHandler(args?: handlers.APIGatewayProxyHandlerArguments): Handler {
7
const handler = new handlers.APIGatewayProxyHandler(args);
0 commit comments