Skip to content

Commit

Permalink
Fix import statements.
Browse files Browse the repository at this point in the history
Import the Pointer branded type separately from the Emscripten generated
default import.
  • Loading branch information
ccxvii committed May 16, 2024
1 parent 1b25d1a commit d86f1e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mupdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

"use strict"

import { libmupdf_wasm, Pointer } from "./mupdf-wasm.js"
import { Pointer } from "./mupdf-wasm.js"
import libmupdf_wasm from "./mupdf-wasm.js"

const libmupdf = await libmupdf_wasm()

Expand Down

0 comments on commit d86f1e9

Please sign in to comment.