From 44296f85cc16f062d8ab85b34b41344a9a8c7899 Mon Sep 17 00:00:00 2001 From: Robert Myers Date: Sun, 1 May 2022 12:45:51 -0600 Subject: [PATCH] Fixing typescript error in build process --- pyscriptjs/src/components/pybox.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyscriptjs/src/components/pybox.ts b/pyscriptjs/src/components/pybox.ts index 308f1136..c00856da 100644 --- a/pyscriptjs/src/components/pybox.ts +++ b/pyscriptjs/src/components/pybox.ts @@ -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']) })