Skip to content

Commit

Permalink
fix module
Browse files Browse the repository at this point in the history
  • Loading branch information
ermalkaleci committed Aug 9, 2023
1 parent b84bf4d commit fb2b035
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> => {
// @ts-ignore

Check failure on line 10 in packages/core/src/db/browser.ts

View workflow job for this annotation

GitHub Actions / tests

Do not use "@ts-ignore" because it alters compilation errors
const wasmUrl = new URL('../../../../node_modules/sql.js/dist/sql-wasm.wasm', import.meta.url)
const wasmBinary = await fetch(wasmUrl).then((response) => response.arrayBuffer())
const source = new DataSource({
Expand Down

0 comments on commit fb2b035

Please sign in to comment.