mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 20:40:43 +00:00
chore: enable no-unnecessary-type-arguments
This commit is contained in:
@@ -159,7 +159,7 @@ export class OpenClawChannelBridge {
|
||||
includeLastMessage?: boolean;
|
||||
}): Promise<ConversationDescriptor[]> {
|
||||
await this.waitUntilReady();
|
||||
const response = await this.requestGateway<SessionListResult>("sessions.list", {
|
||||
const response: SessionListResult = await this.requestGateway("sessions.list", {
|
||||
limit: params?.limit ?? 50,
|
||||
search: params?.search,
|
||||
includeDerivedTitles: params?.includeDerivedTitles ?? true,
|
||||
@@ -192,7 +192,7 @@ export class OpenClawChannelBridge {
|
||||
limit = 20,
|
||||
): Promise<NonNullable<ChatHistoryResult["messages"]>> {
|
||||
await this.waitUntilReady();
|
||||
const response = await this.requestGateway<ChatHistoryResult>("chat.history", {
|
||||
const response: ChatHistoryResult = await this.requestGateway("chat.history", {
|
||||
sessionKey,
|
||||
limit,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user