Type '(component: ComponentConstructor<Component>) => { lazyRender: () => Promise<(params: any, actions: any) => TemplateResult>; editor: NamedNode<...>; } | { ...; }' is not assignable to type '(component: ComponentConstructor<Component>) => ComponentConstructor<Component>'.