Fix more spelling rules

This commit is contained in:
Dolan Miu
2022-07-05 05:06:32 +01:00
parent c888f589d0
commit 6d447033c9
13 changed files with 58 additions and 27 deletions

View File

@ -13,8 +13,8 @@ export function convertToXmlComponent(element: XmlElement): ImportedXmlComponent
case undefined:
case "element":
const xmlComponent = new ImportedXmlComponent(element.name as string, element.attributes);
const childElments = element.elements || [];
for (const childElm of childElments) {
const childElements = element.elements || [];
for (const childElm of childElements) {
const child = convertToXmlComponent(childElm);
if (child !== undefined) {
xmlComponent.push(child);