chore: get builds passing in Deno canary (#3335)

This commit is contained in:
Marvin Hagemeister
2025-09-04 10:18:17 +02:00
committed by GitHub
parent e21d6742d2
commit baf774517b
3 changed files with 7 additions and 3 deletions
+3 -1
View File
@@ -397,7 +397,9 @@ const EDIT_WARNING =
`// WARNING: DO NOT EDIT THIS FILE. It is autogenerated by Fresh.`;
export async function hashContent(
content: Uint8Array | ReadableStream<Uint8Array>,
// This error poppued up since TS 5.9.2 but not sure why
// deno-lint-ignore no-explicit-any
content: Uint8Array<any> | ReadableStream<Uint8Array>,
): Promise<string> {
const buffer = await new Response(content).arrayBuffer();