chore(core): update composable jsdocs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user