interface SimpleJsonStore<T> {
    data: undefined | Readonly<T>;
    filePath: string;
    flush(): void;
    save(data: T): Readonly<T>;
}

Type Parameters

  • T

Hierarchy (view full)

Properties

Methods

Properties

data: undefined | Readonly<T>

Data in store.

filePath: string

Path reference.

Methods