fix: ignore unsafe argument
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
95e3de6b2a
commit
78757f20b5
@ -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]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user