Add missing type assertions
This commit is contained in:
@@ -2,4 +2,4 @@ import { render } from 'solid-js/web';
|
||||
|
||||
import { TodoList } from './todo-list';
|
||||
|
||||
render(() => <TodoList />, document.getElementById('root'));
|
||||
render(() => <TodoList />, document.getElementById('root') as HTMLElement);
|
||||
|
||||
@@ -2,4 +2,4 @@ import { render } from 'solid-js/web';
|
||||
|
||||
import { TodoList } from './todo-list';
|
||||
|
||||
render(() => <TodoList />, document.getElementById('root'));
|
||||
render(() => <TodoList />, document.getElementById('root') as HTMLElement);
|
||||
|
||||
Reference in New Issue
Block a user