react-application-core
Version:
A react-based application core for the business applications.
24 lines (23 loc) • 599 B
TypeScript
import { IStorage } from '../definition';
export declare abstract class BaseStorage implements IStorage {
protected prefix: string;
/**
* @stable [10.09.2020]
* @param prefix
* @protected
*/
protected constructor(prefix: string);
/**
* @stable [10.09.2020]
* @param key
* @param value
*/
abstract set(key: string, value: unknown): Promise<boolean>;
/**
* @stable [10.09.2020]
* @param key
* @param noPrefix
* @protected
*/
protected toKey(key: string, noPrefix?: boolean): string;
}