Skip to content

Commit c6e18bf

Browse files
authored
fix: ignore type checking in image-optimization.ts (#668)
1 parent 8ab921f commit c6e18bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/open-next/src/adapters/plugins/image-optimization/image-optimization.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// @ts-nocheck
2+
// This file is used only for Next 14.1 and below. Typing is correct for these versions.
13
import type { IncomingMessage, ServerResponse } from "node:http";
24

35
import type { APIGatewayProxyEventHeaders } from "aws-lambda";
@@ -26,7 +28,6 @@ export async function optimizeImage(
2628
imageParams,
2729
nextConfig,
2830
false, // not in dev mode
29-
// @ts-expect-error - This file is used only for Next 14.1 and below. Typing is correct for these versions.
3031
handleRequest,
3132
);
3233
debug("optimized result", result);

0 commit comments

Comments
 (0)