mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 23:00:22 +00:00
refactor(lint): tighten channel and config defaults
This commit is contained in:
@@ -50,6 +50,5 @@ export interface ChannelsConfig {
|
||||
/** Map provider -> channel id -> model override. */
|
||||
modelByChannel?: ChannelModelByChannelConfig;
|
||||
/** Channel sections are plugin-owned; concrete channel files augment this interface. */
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
[key: string]: any;
|
||||
[key: string]: unknown;
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ function normalizeBundledChannelConfigs(
|
||||
continue;
|
||||
}
|
||||
next ??= { ...value };
|
||||
next[channelId] = parsed.data as ChannelsConfig[string];
|
||||
next[channelId] = parsed.data;
|
||||
}
|
||||
|
||||
return next ?? value;
|
||||
|
||||
Reference in New Issue
Block a user