Skip to content

Commit

Permalink
MessageList [nfc]: Mark OuterProps read-only
Browse files Browse the repository at this point in the history
  • Loading branch information
gnprice committed Sep 21, 2021
1 parent cc48466 commit 1aea4dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webview/MessageList.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ export type BackgroundData = $ReadOnly<{|
twentyFourHourTime: boolean,
|}>;

type OuterProps = {|
type OuterProps = $ReadOnly<{|
narrow: Narrow,
messages: $ReadOnlyArray<Message | Outbox>,
initialScrollMessageId: number | null,
showMessagePlaceholders: boolean,
startEditMessage: (editMessage: EditMessage) => void,
|};
|}>;

type SelectorProps = {|
// Data independent of the particular narrow or messages we're displaying.
Expand Down

0 comments on commit 1aea4dd

Please sign in to comment.