mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 10:47:35 -05:00
Fixing typescript error in build process
This commit is contained in:
@@ -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'])
|
||||
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user