From ae0bf9896948a3c11aec8e970f630c9b25ef354d Mon Sep 17 00:00:00 2001 From: Sepp Wikramaratna-Clarke Date: Wed, 13 Oct 2021 10:45:01 +0100 Subject: [PATCH] fix: use HTMLElement instead of HTMLDivElement --- ts-bootstrap/src/index.tsx | 2 +- ts-minimal/src/index.tsx | 2 +- ts-router/src/index.tsx | 2 +- ts-windicss/src/index.tsx | 2 +- ts/src/index.tsx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ts-bootstrap/src/index.tsx b/ts-bootstrap/src/index.tsx index 26f624e..9c3d3c1 100644 --- a/ts-bootstrap/src/index.tsx +++ b/ts-bootstrap/src/index.tsx @@ -10,4 +10,4 @@ import "./cheatsheet.scss"; import App from "./App"; -render(() => , document.getElementById("root") as HTMLDivElement); +render(() => , document.getElementById("root") as HTMLElement); diff --git a/ts-minimal/src/index.tsx b/ts-minimal/src/index.tsx index d3d2464..5e10358 100644 --- a/ts-minimal/src/index.tsx +++ b/ts-minimal/src/index.tsx @@ -2,5 +2,5 @@ import { render } from "solid-js/web"; import App from "./App"; -render(() => , document.getElementById("root") as HTMLDivElement); +render(() => , document.getElementById("root") as HTMLElement); diff --git a/ts-router/src/index.tsx b/ts-router/src/index.tsx index f3d209e..84f8dd6 100644 --- a/ts-router/src/index.tsx +++ b/ts-router/src/index.tsx @@ -10,5 +10,5 @@ render( ), - document.getElementById("root") as HTMLDivElement + document.getElementById("root") as HTMLElement ); diff --git a/ts-windicss/src/index.tsx b/ts-windicss/src/index.tsx index c748dbc..cb938fc 100644 --- a/ts-windicss/src/index.tsx +++ b/ts-windicss/src/index.tsx @@ -3,4 +3,4 @@ import { render } from "solid-js/web"; import App from "./App"; -render(() => , document.getElementById("root") as HTMLDivElement); +render(() => , document.getElementById("root") as HTMLElement); diff --git a/ts/src/index.tsx b/ts/src/index.tsx index 7f01fce..07dd377 100644 --- a/ts/src/index.tsx +++ b/ts/src/index.tsx @@ -3,4 +3,4 @@ import { render } from "solid-js/web"; import "./index.css"; import App from "./App"; -render(() => , document.getElementById("root") as HTMLDivElement); +render(() => , document.getElementById("root") as HTMLElement);