fix(cli): resolve typescript and lint errors in ported changes

This commit is contained in:
Sehoon Shon
2026-03-10 13:36:03 -04:00
parent c69bf4a4b4
commit 7658e47eaf
7 changed files with 11 additions and 5 deletions

View File

@@ -21,6 +21,7 @@ import {
type SessionInfo,
} from '../../utils/sessionUtils.js';
import type { Part } from '@google/genai';
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
export { convertSessionToHistoryFormats };
@@ -96,7 +97,7 @@ export const useSessionBrowser = (
filePath = path.join(chatsDir, fileName);
// Load up the conversation.
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
conversation = JSON.parse(await fs.readFile(filePath, 'utf8'));
}