function hydrateNotification
hydrateNotification(raw: unknown): Notification

Returns raw as a Notification, for useFeedCache, which reads it back untyped from sessionStorage.

Parameters

raw: unknown

Return Type

Usage

import { hydrateNotification } from "src/utils/shared/deserialize.ts";