This commit is contained in:
Eason Goodale
2025-04-26 11:25:24 -07:00
parent 379b023a7f
commit 28410d62af
5 changed files with 4 additions and 16 deletions

View File

@@ -1,8 +0,0 @@
// Thin reexport shim so test files that import `image-picker-overlay.js`
// continue to work even though the real component is authored in TypeScript.
//
// We deliberately keep this file in plain JavaScript so Node can resolve it
// without the “.tsx” extension when running under ts-node/esm in the test
// environment.
export { default } from "./image-picker-overlay.tsx";

View File

@@ -5,8 +5,8 @@ import { Box, Text, useInput, useStdin } from "ink";
import SelectInput from "../select-input/select-input.js";
import { getDirectoryItems } from "../../utils/image-picker-utils.js";
import type { PickerItem } from "../../utils/image-picker-utils.js";
import { getDirectoryItems } from "../../utils/image-picker-utils";
import type { PickerItem } from "../../utils/image-picker-utils";
import React, { useMemo, useRef } from "react";
interface Props {

View File

@@ -29,7 +29,7 @@ import { useInterval } from "use-interval";
// Internal imports
// Image picker overlay triggered by "@" sentinel
import ImagePickerOverlay from "./image-picker-overlay.js";
import ImagePickerOverlay from "./image-picker-overlay";
const suggestions = [
"explain this codebase to me",