@kui-shell/core
Version:
An Electron-based shell for cloud-native development
14 lines (13 loc) • 374 B
TypeScript
interface SessionStorage {
getItem: (key: string) => string;
setItem: (key: string, value: string) => void;
removeItem: (key: string) => void;
clear: () => void;
}
/**
* This shim allows clients to define a sessionStorage scheme, if they
* cannot provide window.sessionStorage.
*
*/
declare const _default: () => SessionStorage;
export default _default;