Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ermalkaleci committed Aug 9, 2023
1 parent fb2b035 commit 04e940f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/db/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ globalThis.localforage = createInstance({ name: 'chopsticks' })
import * as entities from './entities'

export const openDb = async (dbPath: string): Promise<DataSource> => {
// 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())
Expand Down

0 comments on commit 04e940f

Please sign in to comment.