export type SelectEvent = { position: number; id: number; } export type StarMoveEvent = SelectEvent & { event: MouseEvent; }