Peel off another tiny display-component cleanup batch (#318)
This third pass continues the issue #314 cleanup series with four very small display-oriented components. The changes only remove unused React imports and reconnect existing Props aliases or parameter types where the files were otherwise surfacing straightforward compiler noise. Constraint: Keep the pass limited to trivial display components with uniform low-risk cleanup shape Rejected: Mix in files with unrelated missing-module or broader logic noise | weakens review focus and muddies verification Confidence: high Scope-risk: narrow Reversibility: clean Directive: Prefer these tiny homogeneous slices while the repo still has wider baseline no-unused noise 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 (broader baseline noise remains outside this 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 { pathToFileURL } from 'url';
|
||||
import Link from '../ink/components/Link.js';
|
||||
import { supportsHyperlinks } from '../ink/supports-hyperlinks.js';
|
||||
@@ -20,7 +19,7 @@ type Props = {
|
||||
* - Terminal doesn't support hyperlinks
|
||||
* - Image file is not found in the store
|
||||
*/
|
||||
export function ClickableImageRef(t0) {
|
||||
export function ClickableImageRef(t0: Props) {
|
||||
const $ = _c(13);
|
||||
const {
|
||||
imageId,
|
||||
|
||||
Reference in New Issue
Block a user