Reduce low-risk unused-symbol noise in core components (#316)
This first cleanup pass removes clearly unused imports and dead locals from a small set of components, and reconnects a few existing Props aliases to their component signatures so they stop surfacing as avoidable noise. The scope stays intentionally narrow to make the follow-up cleanup series easier to review and lower risk. Constraint: Follow issue #314 with a components-only, low-risk first pass Rejected: Broader sweep across commands/hooks/utils in the same PR | too much review surface for an initial cleanup pass Confidence: high Scope-risk: narrow Reversibility: clean Directive: Keep subsequent unused-code cleanups narrowly batched; treat signature/compatibility placeholders separately from straightforward import/alias cleanup Tested: bun run build; bun run smoke; targeted noUnused grep for touched files via bun x tsc --noEmit --noUnusedLocals --noUnusedParameters --pretty false Not-tested: full repo typecheck (baseline repo noise remains outside this narrow pass) Co-authored-by: anandh8x <test@example.com>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { c as _c } from "react-compiler-runtime";
|
||||
import * as React from 'react';
|
||||
import { Box, Text } from '../ink.js';
|
||||
import { formatNumber } from '../utils/format.js';
|
||||
import type { Theme } from '../utils/theme.js';
|
||||
@@ -20,7 +19,7 @@ type Props = {
|
||||
lastToolInfo?: string | null;
|
||||
hideType?: boolean;
|
||||
};
|
||||
export function AgentProgressLine(t0) {
|
||||
export function AgentProgressLine(t0: Props) {
|
||||
const $ = _c(32);
|
||||
const {
|
||||
agentType,
|
||||
|
||||
Reference in New Issue
Block a user