mirror of
https://github.com/titaniumnetwork-dev/Ultraviolet.git
synced 2025-05-16 13:00:01 -04:00
set window paramt type
This commit is contained in:
parent
0e0db30056
commit
e7f47eaa3c
1 changed files with 5 additions and 0 deletions
|
@ -39,6 +39,11 @@ if (!self.__uv) __uvHook(self);
|
|||
|
||||
self.__uvHook = __uvHook;
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {typeof globalThis} window
|
||||
* @returns
|
||||
*/
|
||||
function __uvHook(window) {
|
||||
if ('__uv' in window && window.__uv instanceof Ultraviolet) return false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue