diff options
| author | Tommaso Sciortino <[email protected]> | 2025-08-20 16:13:29 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-20 23:13:29 +0000 |
| commit | 0193ce77dd0f4db5cd3822d3eb54c6f41a816253 (patch) | |
| tree | 3f2c879060413b30cddbf51ff19859f07500983b /packages/core/src/tools/read-many-files.ts | |
| parent | 6eb6560d4204ebcc086245be7336a1bcc21c5f04 (diff) | |
Remove unnecessary FileErrorType. (#6697)
Diffstat (limited to 'packages/core/src/tools/read-many-files.ts')
| -rw-r--r-- | packages/core/src/tools/read-many-files.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/core/src/tools/read-many-files.ts b/packages/core/src/tools/read-many-files.ts index 52529ce9..b3568cad 100644 --- a/packages/core/src/tools/read-many-files.ts +++ b/packages/core/src/tools/read-many-files.ts @@ -21,6 +21,7 @@ import { processSingleFileContent, DEFAULT_ENCODING, getSpecificMimeType, + ProcessedFileReadResult, } from '../utils/fileUtils.js'; import { PartListUnion } from '@google/genai'; import { Config, DEFAULT_FILE_FILTERING_OPTIONS } from '../config/config.js'; @@ -84,9 +85,7 @@ type FileProcessingResult = success: true; filePath: string; relativePathForDisplay: string; - fileReadResult: NonNullable< - Awaited<ReturnType<typeof processSingleFileContent>> - >; + fileReadResult: ProcessedFileReadResult; reason?: undefined; } | { |
