mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
d07e199976
commit
334fd06ae7
1 file changed
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
import { action, observable } from "mobx";
|
import { action, observable } from "mobx";
|
||||||
|
|
||||||
export class BaseRegistry<T = any> {
|
export class BaseRegistry<T = any> {
|
||||||
protected items = observable<T>([], { deep: false });
|
private items = observable<T>([], { deep: false });
|
||||||
|
|
||||||
getItems(): T[] {
|
getItems(): T[] {
|
||||||
return this.items.toJS();
|
return this.items.toJS();
|
||||||
|
|||||||
Reference in new issue
Block a user