fix: type cast root element as HTMLDivElement

This commit is contained in:
Sepp Wikramaratna-Clarke
2021-10-08 20:57:19 +01:00
parent f892b6f812
commit 22d8c6f9b2
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -3,4 +3,4 @@ import { render } from "solid-js/web";
import "./index.css";
import App from "./App";
render(() => <App />, document.getElementById("root"));
render(() => <App />, document.getElementById("root") as HTMLDivElement);