Fixing typescript error in build process

This commit is contained in:
Robert Myers
2022-05-01 12:45:51 -06:00
parent 8f5c848968
commit 44296f85cc

View File

@@ -54,7 +54,7 @@ export class PyBox extends HTMLElement {
this.widths.forEach((width, index)=>{
const node: ChildNode = mainDiv.childNodes[index];
addClasses(node, [width, 'mx-1'])
addClasses(node as HTMLElement, [width, 'mx-1'])
})