-
+ >
{files.length === job.num_files ? "Download All" : "Converting..."}
diff --git a/src/pages/root.tsx b/src/pages/root.tsx
index b8aaf1b..fa4c8a8 100644
--- a/src/pages/root.tsx
+++ b/src/pages/root.tsx
@@ -34,7 +34,9 @@ export const root = new Elysia()
let user: ({ id: string } & JWTPayloadSpec) | false = false;
if (ALLOW_UNAUTHENTICATED) {
const newUserId = String(
- UNAUTHENTICATED_USER_SHARING ? 0 : randomInt(2 ** 24, Math.min(2 ** 48 + 2 ** 24 - 1, Number.MAX_SAFE_INTEGER)),
+ UNAUTHENTICATED_USER_SHARING
+ ? 0
+ : randomInt(2 ** 24, Math.min(2 ** 48 + 2 ** 24 - 1, Number.MAX_SAFE_INTEGER)),
);
const accessToken = await jwt.sign({
id: newUserId,
diff --git a/src/theme/theme.css b/src/theme/theme.css
index cc55666..34a0051 100644
--- a/src/theme/theme.css
+++ b/src/theme/theme.css
@@ -44,4 +44,4 @@
/* lime-400 */
--accent-400: oklch(84.1% 0.238 128.85);
}
-}
\ No newline at end of file
+}
diff --git a/tsconfig.json b/tsconfig.json
index 500a42a..234339b 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -5,8 +5,9 @@
"target": "ES2021",
"moduleResolution": "bundler",
"moduleDetection": "force",
- "allowImportingTsExtensions": true,
- "noEmit": true,
+ // "allowImportingTsExtensions": true,
+ "outDir": "dist",
+ "noEmit": false,
"composite": true,
"strict": true,
"downlevelIteration": true,
@@ -24,7 +25,10 @@
// "noUnusedParameters": true,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
- "noImplicitOverride": true
+ "noImplicitOverride": true,
+ "resolveJsonModule": true,
+ "esModuleInterop": true
// "noImplicitReturns": true
- }
+ },
+ "include": ["src", "package.json", "reset.d.ts"]
}