From 40e11e053c1cf304255c21f91e950c520285c6c5 Mon Sep 17 00:00:00 2001
From: Taylor Mullen <ntaylormullen@google.com>
Date: Fri, 18 Apr 2025 19:09:41 -0400
Subject: Fix remaining tslint errors (YAY).

- Also updated ci.yml to ensure that linting failures will break the build.

Fully fixes https://b.corp.google.com/issues/411384603
---
 packages/cli/src/ui/components/HistoryDisplay.tsx | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

(limited to 'packages/cli/src/ui/components/HistoryDisplay.tsx')

diff --git a/packages/cli/src/ui/components/HistoryDisplay.tsx b/packages/cli/src/ui/components/HistoryDisplay.tsx
index 7565c5bc..1c43a67b 100644
--- a/packages/cli/src/ui/components/HistoryDisplay.tsx
+++ b/packages/cli/src/ui/components/HistoryDisplay.tsx
@@ -1,12 +1,11 @@
 import React from 'react';
 import { Box } from 'ink';
 import type { HistoryItem } from '../types.js';
-import { UI_WIDTH } from '../constants.js';
-import UserMessage from './messages/UserMessage.js';
-import GeminiMessage from './messages/GeminiMessage.js';
-import InfoMessage from './messages/InfoMessage.js';
-import ErrorMessage from './messages/ErrorMessage.js';
-import ToolGroupMessage from './messages/ToolGroupMessage.js';
+import { UserMessage } from './messages/UserMessage.js';
+import { GeminiMessage } from './messages/GeminiMessage.js';
+import { InfoMessage } from './messages/InfoMessage.js';
+import { ErrorMessage } from './messages/ErrorMessage.js';
+import { ToolGroupMessage } from './messages/ToolGroupMessage.js';
 import { PartListUnion } from '@google/genai';
 
 interface HistoryDisplayProps {
@@ -14,7 +13,7 @@ interface HistoryDisplayProps {
   onSubmit: (value: PartListUnion) => void;
 }
 
-const HistoryDisplay: React.FC<HistoryDisplayProps> = ({
+export const HistoryDisplay: React.FC<HistoryDisplayProps> = ({
   history,
   onSubmit,
 }) => (
@@ -36,4 +35,3 @@ const HistoryDisplay: React.FC<HistoryDisplayProps> = ({
     ))}
   </Box>
 );
-export default HistoryDisplay;
-- 
cgit v1.2.3

