fix: ignore unsafe argument

This commit is contained in:
Oliver Eyton-Williams
2021-12-02 14:52:43 +01:00
committed by Mrugesh Mohapatra
parent 95e3de6b2a
commit 78757f20b5

View File

@ -67,6 +67,7 @@ async function initTestFrame(e: InitTestFrameArg = { code: {} }) {
(typeof o[prop] === 'object' || typeof o[prop] === 'function') && (typeof o[prop] === 'object' || typeof o[prop] === 'function') &&
!Object.isFrozen(o[prop]) !Object.isFrozen(o[prop])
) { ) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
DeepFreeze(o[prop]); DeepFreeze(o[prop]);
} }
}); });