Skip to content

Commit

Permalink
Fix AP type IApImage
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Apr 28, 2024
1 parent 0b7b4a3 commit 019dbc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/remote/activitypub/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export interface IApDocument extends IObject {
export const isDocument = (object: IObject): object is IApDocument =>
['Audio', 'Document', 'Image', 'Page', 'Video'].includes(getApType(object));

export interface IApImage extends IObject {
export interface IApImage extends IApDocument {
type: 'Image';
}

Expand Down

0 comments on commit 019dbc3

Please sign in to comment.