deepseek-pc/node_modules/naive-ui/es/_utils/composable/use-browser-location.d.ts
2025-02-28 19:43:11 +08:00

14 lines
375 B
TypeScript

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>;