UNPKG

naive-ui

Version:

A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast

14 lines (13 loc) 375 B
import { type Ref } from 'vue'; export interface IWindowLocation { hash?: string; host?: string; hostname?: string; href?: string; origin?: string; pathname?: string; port?: string; protocol?: string; search?: string; } export declare const useBrowserLocation: (customWindow?: (Window & typeof globalThis) | null) => Ref<IWindowLocation>;