Skip to Content

getParsedStorageItem()

getParsedStorageItem<ReturnType>(key): ReturnType | undefined

Defined in: utils/getParsedStorageItem.ts:7 

Internal function for safely retrieving and parsing data from localStorage.

Type Parameters

ReturnType

ReturnType

Parameters

key

string

The key for localStorage

Returns

ReturnType | undefined

The parsed LastConnectedConnector object or undefined if data is not found/invalid

Last updated on