fix: ignore unsafe argument

pull/44358/head
Oliver Eyton-Williams 2021-12-02 14:52:43 +01:00 committed by Mrugesh Mohapatra
parent 95e3de6b2a
commit 78757f20b5
1 changed files with 1 additions and 0 deletions

View File

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