UNPKG
@fluent-windows/hooks
Version:
latest (1.0.0)
1.0.0
Fluent-Windows React hooks.
fluent-windows.com
fluent-org/fluent-windows
@fluent-windows/hooks
/
useGlobal
/
useGlobal.d.ts
12 lines
(11 loc)
•
249 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
/** * Get the current `global this` * * Demo * import { useGlobal } from '
@fluent
-windows/hooks' * * const global = useGlobal() */
/// <reference types="node" />
declare
function
useGlobal
(
):
Window
|
NodeJS
.
Global
; export
default
useGlobal;