Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
gosukiwi committed Jul 24, 2024
1 parent 795d3a6 commit c7f3d6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/repositories/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ export interface IPerson {
}

export interface IPeopleRepository {
findByName(name: string): Promise<Person[]>;
insert(person: Person): Promise<void>;
findByName(name: string): Promise<IPerson[]>;
insert(person: IPerson): Promise<void>;
}

0 comments on commit c7f3d6f

Please sign in to comment.