Skip to content

Commit

Permalink
fix: use import type when value is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
velut committed Jul 31, 2024
1 parent 9454aa0 commit 307ad46
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/get-bulk-daily-package-downloads.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import urlJoin from "url-join";
import { z } from "zod";
import { assertValidPackageName } from "./assert-valid-package-name";
import { DownloadPeriod } from "./download-period";
import type { DownloadPeriod } from "./download-period";
import { fetchData } from "./fetch-data";
import { DailyPackageDownloads } from "./get-daily-package-downloads";
import { npmRegistryDownloadsApiUrl } from "./npm-registry";
Expand Down
2 changes: 1 addition & 1 deletion src/get-bulk-package-downloads.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import urlJoin from "url-join";
import { z } from "zod";
import { assertValidPackageName } from "./assert-valid-package-name";
import { DownloadPeriod } from "./download-period";
import type { DownloadPeriod } from "./download-period";
import { fetchData } from "./fetch-data";
import { PackageDownloads } from "./get-package-downloads";
import { npmRegistryDownloadsApiUrl } from "./npm-registry";
Expand Down
2 changes: 1 addition & 1 deletion src/get-daily-package-downloads.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import urlJoin from "url-join";
import { z } from "zod";
import { assertValidPackageName } from "./assert-valid-package-name";
import { DownloadPeriod } from "./download-period";
import type { DownloadPeriod } from "./download-period";
import { fetchData } from "./fetch-data";
import { DailyRegistryDownloads } from "./get-daily-registry-downloads";
import { npmRegistryDownloadsApiUrl } from "./npm-registry";
Expand Down
2 changes: 1 addition & 1 deletion src/get-daily-registry-downloads.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import urlJoin from "url-join";
import { z } from "zod";
import { DownloadPeriod } from "./download-period";
import type { DownloadPeriod } from "./download-period";
import { fetchData } from "./fetch-data";
import { npmRegistryDownloadsApiUrl } from "./npm-registry";

Expand Down
2 changes: 1 addition & 1 deletion src/get-package-downloads.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import urlJoin from "url-join";
import { z } from "zod";
import { assertValidPackageName } from "./assert-valid-package-name";
import { DownloadPeriod } from "./download-period";
import type { DownloadPeriod } from "./download-period";
import { fetchData } from "./fetch-data";
import { RegistryDownloads } from "./get-registry-downloads";
import { npmRegistryDownloadsApiUrl } from "./npm-registry";
Expand Down
2 changes: 1 addition & 1 deletion src/get-registry-downloads.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import urlJoin from "url-join";
import { z } from "zod";
import { DownloadPeriod } from "./download-period";
import type { DownloadPeriod } from "./download-period";
import { fetchData } from "./fetch-data";
import { npmRegistryDownloadsApiUrl } from "./npm-registry";

Expand Down

0 comments on commit 307ad46

Please sign in to comment.