Skip to content

Commit 6ddf40f

Browse files
authored
ref(utils): Deprecate getGlobalObject as it's no longer used (#5949)
1 parent d59ea01 commit 6ddf40f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/utils/src/global.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ export const GLOBAL_OBJ: InternalGlobal =
7373
{};
7474

7575
/**
76-
* Safely get global scope object
77-
*
78-
* @returns Global scope object
76+
* @deprecated Use GLOBAL_OBJ instead. This will be removed in v8
7977
*/
8078
export function getGlobalObject<T>(): T & InternalGlobal {
8179
return GLOBAL_OBJ as T & InternalGlobal;

0 commit comments

Comments
 (0)