From 87208b56fa3b5ec14452cb080fc5023121041d46 Mon Sep 17 00:00:00 2001 From: mathieuprog <5883963+mathieuprog@users.noreply.github.com> Date: Wed, 29 Jun 2022 14:12:57 +0200 Subject: [PATCH 1/2] Add missing type assertion --- ts-jest/src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-jest/src/index.tsx b/ts-jest/src/index.tsx index 97be0b9..8fa57b4 100644 --- a/ts-jest/src/index.tsx +++ b/ts-jest/src/index.tsx @@ -2,4 +2,4 @@ import { render } from 'solid-js/web'; import { TodoList } from './todo-list'; -render(() => , document.getElementById('root')); +render(() => , document.getElementById('root') as HTMLElement); From 83711158861f8861b9adb9ed5a76fd75622e4446 Mon Sep 17 00:00:00 2001 From: mathieuprog <5883963+mathieuprog@users.noreply.github.com> Date: Wed, 29 Jun 2022 14:31:53 +0200 Subject: [PATCH 2/2] Add missing type assertions --- ts-uvu/src/index.tsx | 2 +- ts-vitest/src/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts-uvu/src/index.tsx b/ts-uvu/src/index.tsx index 97be0b9..8fa57b4 100644 --- a/ts-uvu/src/index.tsx +++ b/ts-uvu/src/index.tsx @@ -2,4 +2,4 @@ import { render } from 'solid-js/web'; import { TodoList } from './todo-list'; -render(() => , document.getElementById('root')); +render(() => , document.getElementById('root') as HTMLElement); diff --git a/ts-vitest/src/index.tsx b/ts-vitest/src/index.tsx index 97be0b9..8fa57b4 100644 --- a/ts-vitest/src/index.tsx +++ b/ts-vitest/src/index.tsx @@ -2,4 +2,4 @@ import { render } from 'solid-js/web'; import { TodoList } from './todo-list'; -render(() => , document.getElementById('root')); +render(() => , document.getElementById('root') as HTMLElement);