fix(places): keep the hooks' helper types to their files

knip counts an exported type nothing imports; the tabs' row type and the
hours' field type are only used where they are declared.
This commit is contained in:
Maurice
2026-11-17 08:57:18 +01:00
parent 2c5beee849
commit 5ecf3001af
2 changed files with 1 additions and 3 deletions
@@ -82,5 +82,3 @@ export function usePlaceHours({ openingHours, onChange, suggestedHours }: PlaceH
takeOver,
};
}
export type PlaceHoursField = ReturnType<typeof usePlaceHours>;
@@ -4,7 +4,7 @@ type Translate = (key: string, params?: Record<string, string | number>) => stri
export type PlaceTextField = 'description' | 'notes' | 'assignment_notes';
export interface PlaceTextTab {
interface PlaceTextTab {
field: PlaceTextField;
/** The tab's own short name. */
label: string;