From d87e6ee2ae86795824ab4afe9b3fbca617b6e764 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 2 May 2026 02:06:37 +0100 Subject: [PATCH] refactor: trim legacy config exports --- src/config/legacy.shared.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/config/legacy.shared.ts b/src/config/legacy.shared.ts index 5134c0e18e3..db1b7ce0635 100644 --- a/src/config/legacy.shared.ts +++ b/src/config/legacy.shared.ts @@ -7,7 +7,7 @@ export type LegacyConfigRule = { requireSourceLiteral?: boolean; }; -export type LegacyConfigMigration = { +type LegacyConfigMigration = { id: string; describe: string; apply: (raw: Record, changes: string[]) => void; @@ -20,7 +20,6 @@ export type LegacyConfigMigrationSpec = LegacyConfigMigration & { import { isSafeExecutableValue } from "../infra/exec-safety.js"; import { isRecord } from "../utils.js"; import { isBlockedObjectKey } from "./prototype-keys.js"; -export { isRecord }; export const getRecord = (value: unknown): Record | null => isRecord(value) ? value : null;