Skip to content

Commit 019dbc3

Browse files
committed
Fix AP type IApImage
1 parent 0b7b4a3 commit 019dbc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/remote/activitypub/type.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export interface IApDocument extends IObject {
192192
export const isDocument = (object: IObject): object is IApDocument =>
193193
['Audio', 'Document', 'Image', 'Page', 'Video'].includes(getApType(object));
194194

195-
export interface IApImage extends IObject {
195+
export interface IApImage extends IApDocument {
196196
type: 'Image';
197197
}
198198

0 commit comments

Comments
 (0)