chore: upgrade TypeScript to v5.9 (#22861)
This commit is contained in:
1 parent
9cb2eb3b8c
commit
28cb2cff64
19 files changed
+121
-442
No files matched your search
@@ -208,7 +208,7 @@ async function getHandler(request: NextRequest) {
|
||||
}
|
||||
|
||||
// Create a new response with the image buffer
|
||||
const imageResponse = new NextResponse(buffer);
|
||||
const imageResponse = new NextResponse(buffer as BodyInit);
|
||||
|
||||
// Set the appropriate headers
|
||||
imageResponse.headers.set("Content-Type", response.headers.get("content-type") || "image/png");
|
||||
|
||||
Reference in new issue
Block a user