Skip to content

Commit

Permalink
chore: add parameter to interface
Browse files Browse the repository at this point in the history
This way TypeScript can pick it up properly.

Signed-off-by: André Jaenisch <[email protected]>
  • Loading branch information
Ryuno-Ki committed Sep 29, 2024
1 parent 07532e9 commit 05e0afc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions megalodon/src/megalodon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ export interface MegalodonInterface {
* @param options.exclude_replies Return statuses which exclude replies.
* @param options.exclude_reblogs Return statuses which exclude reblogs.
* @param options.only_media Show only statuses with media attached? Defaults to false.
* @param options.only_public Return statuses with public visibility only.
* @return Account's statuses.
*/
getAccountStatuses(
Expand All @@ -182,6 +183,7 @@ export interface MegalodonInterface {
exclude_replies?: boolean
exclude_reblogs?: boolean
only_media?: boolean
only_public?: boolean
}
): Promise<Response<Array<Entity.Status>>>
/**
Expand Down

0 comments on commit 05e0afc

Please sign in to comment.