mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-15 11:11:09 +00:00
fix: repair doctor shared record guard imports
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { isRecord } from "../../../utils.js";
|
||||
|
||||
type JsonRecord = Record<string, unknown>;
|
||||
|
||||
export type { JsonRecord };
|
||||
export { isRecord } from "../../../utils.js";
|
||||
export { isRecord };
|
||||
|
||||
export function cloneRecord<T extends JsonRecord>(value: T | undefined): T {
|
||||
return { ...value } as T;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { normalizeOptionalString } from "../shared/string-coerce.js";
|
||||
import { isPlainObject } from "../infra/plain-object.js";
|
||||
import { isRecord } from "../utils.js";
|
||||
import type {
|
||||
ResolvedTalkConfig,
|
||||
|
||||
Reference in New Issue
Block a user