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;