-
-
-
-
-
);
};
diff --git a/resources/scripts/lib/objects.ts b/resources/scripts/lib/objects.ts
index 7165a4af2..319bcd665 100644
--- a/resources/scripts/lib/objects.ts
+++ b/resources/scripts/lib/objects.ts
@@ -2,8 +2,7 @@
* Determines if the value provided to the function is an object type that
* is not null.
*/
-// eslint-disable-next-line @typescript-eslint/ban-types
-function isObject(val: unknown): val is {} {
+function isObject(val: unknown): val is Record
{
return typeof val === 'object' && val !== null && !Array.isArray(val);
}