From da2ad8b45693d7192cbefbce9105b3f40a795255 Mon Sep 17 00:00:00 2001 From: Eoghan Murray Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] Keep `npm run typings` happy (#222) --- src/replay/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/replay/index.ts b/src/replay/index.ts index df2ee8fe..da3664d0 100644 --- a/src/replay/index.ts +++ b/src/replay/index.ts @@ -226,8 +226,8 @@ export class Replayer { } private handleResize(dimension: viewportResizeDimention) { - this.iframe.setAttribute('width', dimension.width); - this.iframe.setAttribute('height', dimension.height); + this.iframe.setAttribute('width', String(dimension.width)); + this.iframe.setAttribute('height', String(dimension.height)); } // TODO: add speed to mouse move timestamp calculation