Skip to main content

MemorySettingsStoreOptions

Options for MemorySettingsStore.

This is an interface exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { MemorySettingsStoreOptions } from "@mapcairn/core";

interface MemorySettingsStoreOptions

Properties​

initial​

readonly initial?: Partial<Settings>;

Overrides applied on top of DEFAULT_FAKE_SETTINGS.

persistent​

readonly persistent?: boolean;

What persistent reports. Defaults to true. False simulates blocked storage: the store still works, in memory only.

See also​

Source: packages/core/src/fakes/MemorySettingsStore.ts:18