Skip to content

Commit

Permalink
chore(dev-utils): Fix indexer for consistent-type-imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaursen committed Mar 10, 2022
1 parent cfca184 commit 2d2d1e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/dev-utils/src/indexer/index.ts
Expand Up @@ -29,7 +29,7 @@ export async function indexer(): Promise<void> {
const meta = join(documentationRoot, src, "constants", "meta");
const tocsPath = join(meta, "tocs.ts");
const tocsContents =
format(`${COPY_BANNER}import { TOCRecord } from "./types";
format(`${COPY_BANNER}import type { TOCRecord } from "./types";
const tocs: TOCRecord = ${JSON.stringify(tocs, null, 2)};
Expand All @@ -38,7 +38,7 @@ export default tocs`);

const searchPath = join(meta, "search.ts");
const searchContents =
format(`${COPY_BANNER}import { RouteMetadata } from "./types";
format(`${COPY_BANNER}import type { RouteMetadata } from "./types";
const metadata: readonly RouteMetadata[] = ${JSON.stringify(metadata, null, 2)};
Expand Down

1 comment on commit 2d2d1e9

@vercel
Copy link

@vercel vercel bot commented on 2d2d1e9 Mar 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.