chore(popover): drop the unused AnchoredPopover type export (knip)

This commit is contained in:
2026-07-31 03:43:41 +02:00
parent a6e3ef8122
commit 7b6481055c
+2 -1
View File
@@ -93,7 +93,8 @@ export interface AnchoredPopoverOptions {
selectedIndex?: number | null;
}
export type AnchoredPopover = ReturnType<typeof useAnchoredPopover>;
// Internal: call sites use the inferred hook return, they don't name the type.
type AnchoredPopover = ReturnType<typeof useAnchoredPopover>;
export function useAnchoredPopover(opts: AnchoredPopoverOptions) {
const mode = opts.mode ?? "menu";