• Deserializes a value, with correct handling for nesting, Maps, BigInts and Svelte-style stores. hooks maps from a type tag to a custom deserialization function.

    Parameters

    • v: any
    • hooks: Map<string, ((data) => any)> = saveManager.deserializeHooks

    Returns any