Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(app-shell, app-shell-odd): Refactor app to use unsubscribe flags #14633

Closed
wants to merge 14 commits into from
Closed
Prev Previous commit
Next Next commit
marginally better typing
  • Loading branch information
mjhuff committed Mar 4, 2024
commit c7d40eeac2db503796c43334b2e4e85cbbbf39e1
2 changes: 1 addition & 1 deletion app-shell-odd/src/notify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ function sendToBrowserDeserialized({
topic,
message,
}: SendToBrowserParams): void {
let deserializedMessage: string | Object
let deserializedMessage: string | Record<string, unknown>

try {
deserializedMessage = JSON.parse(message)
Expand Down
2 changes: 1 addition & 1 deletion app-shell/src/notify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ function sendToBrowserDeserialized({
topic,
message,
}: SendToBrowserParams): void {
let deserializedMessage: string | Object
let deserializedMessage: string | Record<string, unknown>

try {
deserializedMessage = JSON.parse(message)
Expand Down