import { registerComponent } from "https://deno.land/x/docxml@1.5.0/src/util/components.ts";
Register a component in such a way that it can be found by its name later.
This helps avoid circular dependencies in components that can be a descendant of themselves. For example, Table --> Row --> Cell --> Table
Parameters
Component: XmlComponentClassDefinition<XmlComponent<{ [key: string]: any; }, any>> | XmlComponentClassDefinition<XmlComponent<{ [key: string]: any; }, never>>