UNPKG

kibana-with-account

Version:

kibana-with-account is develop based kibana project

10 lines (8 loc) 313 B
const store = Symbol('store'); export default class TabFakeStore { constructor() { this[store] = new Map(); } getItem(k) { return this[store].get(k); } setItem(k, v) { return this[store].set(k, v); } getKeys() { return [ ...this[store].keys() ]; } getValues() { return [ ...this[store].values() ]; } }