14 lines
375 B
TypeScript
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>;
|