Skip to content

Commit 6943304

Browse files
authored
Merge pull request pyscript#101 from rmyers/fix-typescript-error
Fixing typescript error in build process
2 parents 5eeb4e3 + 44296f8 commit 6943304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyscriptjs/src/components/pybox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class PyBox extends HTMLElement {
5454

5555
this.widths.forEach((width, index)=>{
5656
const node: ChildNode = mainDiv.childNodes[index];
57-
addClasses(node, [width, 'mx-1'])
57+
addClasses(node as HTMLElement, [width, 'mx-1'])
5858

5959
})
6060

0 commit comments

Comments
 (0)