7 lines
187 B
TypeScript
7 lines
187 B
TypeScript
import Location from "./location";
|
|
|
|
export default interface LocationsRepository {
|
|
getAll(): Location[];
|
|
save(location: Location): void; // On pourrait séparer lecture / écriture
|
|
}
|