Skip to content

Commit

Permalink
Use type import for package.json type
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuajaco committed Jun 10, 2023
1 parent 10b06c0 commit 75d328e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { resolve, join, posix, sep } from "path";
import os from "os";
import { readFileSync } from "fs";
import fg from "fast-glob";
import { PackageJson } from "pkg-types";
import type { PackageJson } from "pkg-types";
import { parse as parseYAML } from "yaml";

export type WorkspacesRoot = { location: string; globs: string[] };
Expand Down

0 comments on commit 75d328e

Please sign in to comment.