Add missing type assertions

This commit is contained in:
mathieuprog
2022-06-29 14:31:53 +02:00
parent 87208b56fa
commit 8371115886
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,4 +2,4 @@ import { render } from 'solid-js/web';
import { TodoList } from './todo-list'; import { TodoList } from './todo-list';
render(() => <TodoList />, document.getElementById('root')); render(() => <TodoList />, document.getElementById('root') as HTMLElement);
+1 -1
View File
@@ -2,4 +2,4 @@ import { render } from 'solid-js/web';
import { TodoList } from './todo-list'; import { TodoList } from './todo-list';
render(() => <TodoList />, document.getElementById('root')); render(() => <TodoList />, document.getElementById('root') as HTMLElement);