Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangfisher committed Jan 16, 2025
1 parent 1ae35ed commit fc6a61a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/package/getPackageJson.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PackageJson } from "type-fest";
import type { PackageJson } from "type-fest";
import { getPackageRootPath } from "./getPackageRootPath";
import path from "node:path"

Expand All @@ -11,5 +11,4 @@ export function getPackageJson(entry?:string):PackageJson | undefined{
return undefined
}
}

export { PackageJson } from "type-fest"

0 comments on commit fc6a61a

Please sign in to comment.