We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getGlobalObject
1 parent d59ea01 commit 6ddf40fCopy full SHA for 6ddf40f
packages/utils/src/global.ts
@@ -73,9 +73,7 @@ export const GLOBAL_OBJ: InternalGlobal =
73
{};
74
75
/**
76
- * Safely get global scope object
77
- *
78
- * @returns Global scope object
+ * @deprecated Use GLOBAL_OBJ instead. This will be removed in v8
79
*/
80
export function getGlobalObject<T>(): T & InternalGlobal {
81
return GLOBAL_OBJ as T & InternalGlobal;
0 commit comments