fix linting

This commit is contained in:
2025-05-25 20:48:33 -06:00
parent d6f9567777
commit 26fba66bba
14 changed files with 130 additions and 75 deletions

View File

@@ -1,4 +1,4 @@
import { initBackend } from 'absurd-sql/dist/indexeddb-main-thread';
import { initBackend } from "absurd-sql/dist/indexeddb-main-thread";
import { initializeApp } from "./main.common";
import "./registerServiceWorker"; // Web PWA support
@@ -6,9 +6,12 @@ const app = initializeApp();
function sqlInit() {
// see https://github.com/jlongster/absurd-sql
let worker = new Worker(new URL('./registerSQLWorker.js', import.meta.url), {
type: 'module'
});
const worker = new Worker(
new URL("./registerSQLWorker.js", import.meta.url),
{
type: "module",
},
);
// This is only required because Safari doesn't support nested
// workers. This installs a handler that will proxy creating web
// workers through the main thread