Skip to content

Commit

Permalink
ref(utils): Deprecate getGlobalObject as it's no longer used (#5949)
Browse files Browse the repository at this point in the history
  • Loading branch information
timfish committed Oct 13, 2022
1 parent d59ea01 commit 6ddf40f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/utils/src/global.ts
Expand Up @@ -73,9 +73,7 @@ export const GLOBAL_OBJ: InternalGlobal =
{};

/**
* Safely get global scope object
*
* @returns Global scope object
* @deprecated Use GLOBAL_OBJ instead. This will be removed in v8
*/
export function getGlobalObject<T>(): T & InternalGlobal {
return GLOBAL_OBJ as T & InternalGlobal;
Expand Down

0 comments on commit 6ddf40f

Please sign in to comment.