Skip to content
ts
import { getLocalStorage } from '@trail-run/core/reactive/storage';

Function: getLocalStorage()

ts
function getLocalStorage(): ReactiveStorage;

Defined in: src/reactive/storage.ts:38

Retrieves the singleton instance of the LocalStorage service.

If the instance does not already exist, it is created.

Returns

ReactiveStorage

Released under the MIT License.