[web] Fix non-readonly types
Summary: Mentioned in a comment to D11123, I forgot to make these types read only.
Test Plan: yarn flow in web.
Reviewers: kamil, inka
Reviewed By: kamil
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D11240