Skip to content

Commit 1408d4d

Browse files
chrisbobbegnprice
authored andcommitted
types: Make Account object type read-only
1 parent aa470d2 commit 1408d4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export type InputSelection = {|
5858
* with `identityOfAccount` to convert at the boundary.
5959
* TODO: move more code that way.
6060
*/
61-
export type Account = {|
61+
export type Account = $ReadOnly<{|
6262
...Auth,
6363

6464
/**
@@ -142,7 +142,7 @@ export type Account = {|
142142
* apply.
143143
*/
144144
lastDismissedServerPushSetupNotice: Date | null,
145-
|};
145+
|}>;
146146

147147
/**
148148
* An identity belonging to this user in some Zulip org, with no secrets.

0 commit comments

Comments
 (0)