From 7eaf81d5ee447c6e41cf93f29bb9f2ce6e40f541 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Wed, 11 May 2022 18:59:12 -0400 Subject: [PATCH] fix: use type import for `aws-lambda` (#284) Followup to #283 --- src/middleware/aws-lambda/api-gateway-v2.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middleware/aws-lambda/api-gateway-v2.ts b/src/middleware/aws-lambda/api-gateway-v2.ts index 4f7d738a5..873c9ae05 100644 --- a/src/middleware/aws-lambda/api-gateway-v2.ts +++ b/src/middleware/aws-lambda/api-gateway-v2.ts @@ -5,7 +5,7 @@ import { onUnhandledRequestDefault } from "../on-unhandled-request-default"; import { HandlerOptions } from "../types"; import { OAuthApp } from "../../index"; import { Options, ClientType } from "../../types"; -import { +import type { APIGatewayProxyEventV2, APIGatewayProxyStructuredResultV2, } from "aws-lambda";