move eslint comment
This commit is contained in:
@@ -7,8 +7,8 @@ function deepFreeze<T>(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' &&
|
||||
|
||||
Reference in New Issue
Block a user