Fix type error in SharedRendererTests.ts

This commit is contained in:
Daniel Imms
2025-12-27 02:55:43 -08:00
parent 4406043e6b
commit 373bf513f1
+1 -1
View File
@@ -1418,7 +1418,7 @@ async function getFrameDetails(ctx: ITestContext): Promise<{ cols: number, rows:
frameDetails = {
cols: await ctx.proxy.cols,
rows: await ctx.proxy.rows,
decoded: (await decodePng(buffer, { force32: true })).image
decoded: (await decodePng(new Uint8Array(buffer), { force32: true })).image
};
return frameDetails;
}