UNPKG

@kui-shell/core

Version:

An Electron-based shell for cloud-native development

14 lines (13 loc) 373 B
export interface LocalStorage { getItem: (key: string) => string; setItem: (key: string, value: string) => void; removeItem: (key: string) => void; clear: () => void; } /** * This shim allows clients to define a localStorage scheme, if they * cannot provide window.localStorage. * */ declare const _default: () => LocalStorage; export default _default;