Skip to content

Commit

Permalink
feat(core): 新增 unsafeWindow 全局变量
Browse files Browse the repository at this point in the history
  • Loading branch information
enncy committed Dec 31, 2022
1 parent f9d0661 commit 9438a1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/utils/tampermonkey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,5 @@ export function notification(
});
}
}

export const unsafeWindow = globalThis.unsafeWindow;

0 comments on commit 9438a1e

Please sign in to comment.