Further clean up types for the card object (#37023)

This commit is contained in:
diondiondion authored and GitHub committed 2026-01-09 14:40:27 +00:00
1 parent 628fc9b95b
commit 973fef4b69
3 files changed
+10 -9

No files matched your search

+1 -3
View File
@@ -7,8 +7,6 @@ export type { StatusVisibility } from 'mastodon/api_types/statuses';
// Temporary until we type it correctly
export type Status = Immutable.Map<string, unknown>;
type CardShape = Required<ApiPreviewCardJSON>;
export type Card = RecordOf<CardShape>;
export type Card = RecordOf<ApiPreviewCardJSON>;
export type MediaAttachment = Immutable.Map<string, unknown>;