16 lines
237 B
TypeScript
16 lines
237 B
TypeScript
export interface Location {
|
|
id: number;
|
|
name: string;
|
|
lat: number;
|
|
lng: number;
|
|
center?: boolean;
|
|
}
|
|
|
|
export interface LocationState {
|
|
locations: Location[];
|
|
}
|
|
|
|
export const initialState: LocationState = {
|
|
locations: [],
|
|
};
|