diff --git a/packages/core/src/db/browser.ts b/packages/core/src/db/browser.ts index 7653168a..7c96c8be 100644 --- a/packages/core/src/db/browser.ts +++ b/packages/core/src/db/browser.ts @@ -7,6 +7,7 @@ globalThis.localforage = createInstance({ name: 'chopsticks' }) import * as entities from './entities' export const openDb = async (dbPath: string): Promise => { + // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore const wasmUrl = new URL('../../../../node_modules/sql.js/dist/sql-wasm.wasm', import.meta.url) const wasmBinary = await fetch(wasmUrl).then((response) => response.arrayBuffer())