From 1aea4ddf066b85c7150214027c3eabffaa08d712 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Mon, 20 Sep 2021 18:35:49 -0700 Subject: [PATCH] MessageList [nfc]: Mark OuterProps read-only --- src/webview/MessageList.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webview/MessageList.js b/src/webview/MessageList.js index 3b711f76657..d325eb4746d 100644 --- a/src/webview/MessageList.js +++ b/src/webview/MessageList.js @@ -94,13 +94,13 @@ export type BackgroundData = $ReadOnly<{| twentyFourHourTime: boolean, |}>; -type OuterProps = {| +type OuterProps = $ReadOnly<{| narrow: Narrow, messages: $ReadOnlyArray, initialScrollMessageId: number | null, showMessagePlaceholders: boolean, startEditMessage: (editMessage: EditMessage) => void, -|}; +|}>; type SelectorProps = {| // Data independent of the particular narrow or messages we're displaying.