Fix errors throw when doing validity checks (#11171)

This commit is contained in:
Charles Gagnon
2020-07-01 14:37:28 -07:00
committed by GitHub
parent d6768ba12e
commit bd801ad8da
3 changed files with 3 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ export interface IModelStore {
getComponentDescriptor(componentId: string): IComponentDescriptor;
registerComponent(component: IComponent): void;
unregisterComponent(component: IComponent): void;
getComponent(componentId: string): IComponent;
getComponent(componentId: string): IComponent | undefined;
/**
* Runs on a component immediately if the component exists, or runs on
* registration of the component otherwise