Merge pull request #101 from rmyers/fix-typescript-error

Fixing typescript error in build process
This commit is contained in:
Philipp Rudiger
2022-05-01 21:24:11 +02:00
committed by GitHub

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'])
})