From d86f18f6ebfd2b28a25c6976bbdebcd30b7d21ef Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Wed, 15 Feb 2023 12:38:46 +0100 Subject: [PATCH] move eslint comment --- src/Umbraco.Web.UI.Client/libs/observable-api/deep-state.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/libs/observable-api/deep-state.ts b/src/Umbraco.Web.UI.Client/libs/observable-api/deep-state.ts index 8b2b865b3e..d7b03f83f3 100644 --- a/src/Umbraco.Web.UI.Client/libs/observable-api/deep-state.ts +++ b/src/Umbraco.Web.UI.Client/libs/observable-api/deep-state.ts @@ -7,8 +7,8 @@ function deepFreeze(inObj: T): T { Object.freeze(inObj); Object.getOwnPropertyNames(inObj)?.forEach(function (prop) { - // eslint-disable-next-line no-prototype-builtins if ( + // eslint-disable-next-line no-prototype-builtins (inObj as any).hasOwnProperty(prop) && (inObj as any)[prop] != null && typeof (inObj as any)[prop] === 'object' &&