diff --git a/bench/index.ts b/bench/index.ts index b3ff2e1e..9812fd3b 100644 --- a/bench/index.ts +++ b/bench/index.ts @@ -1,4 +1,4 @@ -import * as assert from "assert"; +import assert from "assert"; import { spawnSync } from "child_process"; import { existsSync } from "fs"; import { resolve } from "path"; diff --git a/examples/wasm.ts b/examples/wasm.ts index 995fed83..de9e870b 100644 --- a/examples/wasm.ts +++ b/examples/wasm.ts @@ -7,7 +7,7 @@ */ import { readFileSync } from 'fs'; import { resolve } from 'path'; -import * as constants from '../build/wasm/constants'; +import constants from '../build/wasm/constants'; const bin = readFileSync(resolve(__dirname, '../build/wasm/llhttp.wasm')); const mod = new WebAssembly.Module(bin);