Skip to content

Commit

Permalink
feat: add optional param in getTasks method
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldronson committed Jul 26, 2022
1 parent 3123f0a commit adb3974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/types/entry.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface TaskInputData {
export interface TaskAPI {
getTask(id: string): Promise<Task>

getTasks(query: SearchQuery): Promise<CollectionResponse<Task>>
getTasks(query?: SearchQuery): Promise<CollectionResponse<Task>>

createTask(data: TaskInputData): Promise<Task>

Expand Down

0 comments on commit adb3974

Please sign in to comment.