12 lines
318 B
TypeScript
12 lines
318 B
TypeScript
![]() |
import { XmlComponent } from "file/xml-components";
|
||
|
|
||
|
export abstract class InitializableXmlComponent extends XmlComponent {
|
||
|
constructor(rootKey: string, initComponent?: InitializableXmlComponent) {
|
||
|
super(rootKey);
|
||
|
|
||
|
if (initComponent) {
|
||
|
this.root = initComponent.root;
|
||
|
}
|
||
|
}
|
||
|
}
|