@redhare/lowcode-types
Version:
Types for Ali lowCode engine
15 lines (14 loc) • 402 B
TypeScript
export interface IPublicModelPreference {
/**
* set value from local storage by module and key
*/
set(key: string, value: any, module?: string): void;
/**
* get value from local storage by module and key
*/
get(key: string, module: string): any;
/**
* check if local storage contain certain key
*/
contains(key: string, module: string): boolean;
}