1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 205× 2870× | import { Registry } from '../util' class ComponentRegistry extends Registry { constructor(entries) { super(entries, function(ComponentClass) { Iif (!ComponentClass.prototype._isComponent) { throw new Error('Component registry: wrong type. Expected a ComponentClass. Was: ' + String(ComponentClass)) } }) } } export default ComponentRegistry |