routie dev init since i didn't adhere to any proper guidance up until now

This commit is contained in:
2026-04-29 22:27:29 -06:00
commit e1dabb71e2
15301 changed files with 3562618 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import type { CSSProperties, PropType } from 'vue';
import type { Anchor } from '../util/index.js';
export interface LocationProps {
location: Anchor | null | undefined;
}
export declare const makeLocationProps: <Defaults extends {
location?: unknown;
} = {}>(defaults?: Defaults | undefined) => {
location: unknown extends Defaults["location"] ? PropType<Anchor | null> : {
type: PropType<unknown extends Defaults["location"] ? Anchor | null : Defaults["location"] | Anchor | null>;
default: unknown extends Defaults["location"] ? Anchor | null : Defaults["location"] | NonNullable<Anchor | null>;
};
};
export declare function useLocation(props: LocationProps, opposite?: boolean, offset?: (side: string) => number): {
locationStyles: import("vue").ComputedRef<CSSProperties>;
};