From 92595f2959bb2bb7042329132bd5073aa217ccd2 Mon Sep 17 00:00:00 2001 From: mdellanoce Date: Thu, 8 Feb 2024 15:53:42 +0000 Subject: [PATCH] Apply formatting changes --- packages/rrweb/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rrweb/src/utils.ts b/packages/rrweb/src/utils.ts index 106097bf5e..bf31d8d253 100644 --- a/packages/rrweb/src/utils.ts +++ b/packages/rrweb/src/utils.ts @@ -163,7 +163,7 @@ export function patch( // Make sure it's a function first, as we need to attach an empty prototype for `defineProperties` to work // otherwise it'll throw "TypeError: Object.defineProperties called on non-object" if (typeof wrapped === 'function') { - wrapped.toString = function() { + wrapped.toString = function () { return original.toString(); }; // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment