Skip to content

Commit

Permalink
chore(bindings/node): Fix type definition
Browse files Browse the repository at this point in the history
 - Closes #9510
  • Loading branch information
kdy1 committed Sep 11, 2024
1 parent 47ef38d commit 64ec111
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export type * from "@swc/types";
export { newMangleNameCache as experimental_newMangleNameCache } from "./binding";
import { BundleInput, compileBundleOptions } from "./spack";
import * as assert from "assert";
import type { NapiMinifyExtra } from "../binding";
// @ts-ignore
import type { NapiMinifyExtra } from "./binding";

// Allow overrides to the location of the .node binding file
const bindingsOverride = process.env["SWC_BINARY_PATH"];
Expand Down

0 comments on commit 64ec111

Please sign in to comment.