message: refactor(platform-browser): cast response of JSON.parse
  Casts the response of JSON.parse to `{}`, so that is not an `any` type.
  This is because google3 does not allow the use of `any` type.
  PR Close
diff: @@ -150,7 +150,8 @@ export function initTransferState(doc: Document, appId: string) {
  let initialState = {};
  if (script && script.textContent) {
  try {
  - initialState = JSON.parse(unescapeHtml(script.textContent));
  + // Avoid using any here as it triggers lint errors in google3 (any is not allowed).
  + initialState = JSON.parse(unescapeHtml(script.textContent)) as {};
  } catch (e) {
  console.warn('Exception while restoring TransferState for app ' + appId, e);
  }
  