lupine.web
Version:
lupine.web is a extremely fast, small size and lightweight frontend framework, using React TSX syntax.
10 lines (9 loc) • 394 B
text/typescript
// This class is used by both BE and FE (cookie for SSR).
export interface ISimpleStorage {
contains(key: string): boolean;
set(key: string, value: string): void;
get(key: string, defaultValue: string): string;
getInt(key: string, defaultValue: number): number;
getBoolean(key: string, defaultValue: boolean): boolean;
getJson(key: string, defaultValue: object): object;
}