Improve CatalogEntityRegistry types & add tests (#2495)

* improve CatalogEntityRegistry types & add tests

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2021-04-12 09:50:01 +03:00
1 parent 9f065a209f
commit 4504a76e6a
5 files changed
+78 -14

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ import { catalogEntityRegistry } from "../common/catalog-entity-registry";
const clusterOwnerRef = "ClusterManager";
export class ClusterManager extends Singleton {
@observable.deep catalogSource: CatalogEntity[] = [];
catalogSource = observable.array<CatalogEntity>([]);
constructor(public readonly port: number) {
super();