From 75d328ee46da192a719367a9bd4cfb8842a347e4 Mon Sep 17 00:00:00 2001 From: Joshua Jacobowitz Date: Sat, 10 Jun 2023 21:12:21 +0200 Subject: [PATCH] Use type import for package.json type --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 375dcdd..acdfa4c 100644 --- a/index.ts +++ b/index.ts @@ -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[] };