Update Backbone types: attributes is T - and fix failing type checks
This commit is contained in:
parent
c65a7d0a14
commit
b8234765bf
11 changed files with 57 additions and 24 deletions
4
ts/model-types.d.ts
vendored
4
ts/model-types.d.ts
vendored
|
@ -290,7 +290,7 @@ export type ConversationAttributesType = {
|
|||
discoveredUnregisteredAt?: number;
|
||||
firstUnregisteredAt?: number;
|
||||
draftChanged?: boolean;
|
||||
draftAttachments?: Array<AttachmentDraftType>;
|
||||
draftAttachments?: ReadonlyArray<AttachmentDraftType>;
|
||||
draftBodyRanges?: DraftBodyRangesType;
|
||||
draftTimestamp?: number | null;
|
||||
hideStory?: boolean;
|
||||
|
@ -315,7 +315,7 @@ export type ConversationAttributesType = {
|
|||
quotedMessageId?: string | null;
|
||||
sealedSender?: unknown;
|
||||
sentMessageCount?: number;
|
||||
sharedGroupNames?: Array<string>;
|
||||
sharedGroupNames?: ReadonlyArray<string>;
|
||||
voiceNotePlaybackRate?: number;
|
||||
|
||||
id: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue