diff --git a/packages/rrweb/src/replay/canvas/2d.ts b/packages/rrweb/src/replay/canvas/2d.ts index 0d85e8ca70..2b95d0c35a 100644 --- a/packages/rrweb/src/replay/canvas/2d.ts +++ b/packages/rrweb/src/replay/canvas/2d.ts @@ -28,7 +28,7 @@ export default async function canvasMutation({ return Promise.all(mutation.args.map(deserializeArg(imageMap, ctx))); }, ); - const args = await Promise.all(mutationArgsPromises); + const args: unknown[][] = await Promise.all(mutationArgsPromises); // step 2 apply all mutations args.forEach((args, index) => { const mutation = mutations[index];