Further clean up types for the card object (#37023)
This commit is contained in:
1 parent
628fc9b95b
commit
973fef4b69
3 files changed
+10
-9
No files matched your search
@@ -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>;
|
||||
Reference in new issue
Block a user