8000 Fixing typescript error in build process · Srivari07/pyscript@44296f8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 44296f8

Browse files
committed
Fixing typescript error in build process
1 parent 8f5c848 commit 44296f8

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)
0