Mark many of SendMessage's arguments as readonly

This commit is contained in:
Evan Hahn 2021-07-29 14:00:11 -05:00 committed by GitHub
parent 93f60ee5a6
commit 8775c711ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 119 additions and 107 deletions

View file

@ -112,7 +112,7 @@ export default class OutgoingMessage {
timestamp: number;
identifiers: Array<string>;
identifiers: ReadonlyArray<string>;
message: Proto.Content | PlaintextContent;
@ -156,7 +156,7 @@ export default class OutgoingMessage {
callback: (result: CallbackResultType) => void;
contentHint: number;
groupId: string | undefined;
identifiers: Array<string>;
identifiers: ReadonlyArray<string>;
message: Proto.Content | Proto.DataMessage | PlaintextContent;
options?: OutgoingMessageOptionsType;
sendLogCallback?: SendLogCallbackType;