chore(core): update composable jsdocs

This commit is contained in:
braks
2024-02-15 17:46:21 +01:00
committed by Braks
parent ee8748e936
commit fbb3f63134
23 changed files with 104 additions and 18 deletions
@@ -1,5 +1,10 @@
type UseWindow = Window & typeof globalThis & { chrome?: any }
/**
* Returns the window object
*
* @internal
*/
export function useWindow(): UseWindow {
if (typeof window !== 'undefined') {
return window as UseWindow