mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-02-15 05:07:35 +00:00
fix: type annotations
This commit is contained in:
@@ -439,8 +439,8 @@ export const TOOL_CONFIGS: Record<string, ToolDisplayConfig> = {
|
||||
// If content is an array (typical for agent responses with multiple text blocks)
|
||||
if (Array.isArray(result.content)) {
|
||||
const textContent = result.content
|
||||
.filter(item => item.type === 'text')
|
||||
.map(item => item.text)
|
||||
.filter((item: any) => item.type === 'text')
|
||||
.map((item: any) => item.text)
|
||||
.join('\n\n');
|
||||
return { content: textContent || 'No response text' };
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type React from 'react';
|
||||
import type { LoadingProgress, Project, ProjectSession, SessionProvider } from '../../types/app';
|
||||
import type { LoadingProgress, Project, ProjectSession, SessionProvider } from '../../../types/app';
|
||||
|
||||
export type ProjectSortOrder = 'name' | 'date';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user