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

@@ -47,7 +47,7 @@ export class ModelStore implements IModelStore {
// TODO notify model for cleanup
}
getComponent(componentId: string): IComponent {
getComponent(componentId: string): IComponent | undefined {
return this._componentMappings[componentId];
}