From ae2455e73edfd0bdc4c4efd80b2bb5cf7b525e71 Mon Sep 17 00:00:00 2001 From: C4illin Date: Tue, 30 Jul 2024 00:48:15 +0200 Subject: [PATCH] chore: fix type errors and update bun sql syntax --- .gitignore | 3 +- src/components/base.tsx | 5 +- src/components/header.tsx | 2 +- src/converters/ffmpeg.ts | 1 + src/converters/main.ts | 2 +- src/converters/old.sharp.ts | 119 -------- src/helpers/printVersions.ts | 10 + src/index.tsx | 578 ++++++++++++++++++----------------- tsconfig.json | 3 - 9 files changed, 325 insertions(+), 398 deletions(-) delete mode 100644 src/converters/old.sharp.ts diff --git a/.gitignore b/.gitignore index 1bd4c7c..ab13b2a 100644 --- a/.gitignore +++ b/.gitignore @@ -46,4 +46,5 @@ package-lock.json /output /db /data -/Bruno \ No newline at end of file +/Bruno +/tsconfig.tsbuildinfo \ No newline at end of file diff --git a/src/components/base.tsx b/src/components/base.tsx index 29bc54a..c11af2e 100644 --- a/src/components/base.tsx +++ b/src/components/base.tsx @@ -1,4 +1,7 @@ -export const BaseHtml = ({ children, title = "ConvertX" }) => ( +export const BaseHtml = ({ + children, + title = "ConvertX", +}: { children: JSX.Element; title?: string }) => ( diff --git a/src/components/header.tsx b/src/components/header.tsx index ce343f3..1c255db 100644 --- a/src/components/header.tsx +++ b/src/components/header.tsx @@ -30,7 +30,7 @@ export const Header = ({ } return ( -
+