From 13db27c173a844239a3847369ee55216f7439c9e Mon Sep 17 00:00:00 2001 From: vishesh711 Date: Tue, 15 Jul 2025 12:58:04 -0400 Subject: fix: resolve TypeScript build errors and deployment blockers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix missing lucide-react icon imports in type declarations - Add 40+ missing icon exports (Loader2, ExternalLink, Type, etc.) - Fix ArrowLeft → ChevronLeft imports in auth pages - Resolve LucideIcon type declaration issue - Fix invalid Button variant 'ghost' → 'text' in KeyboardShortcutsHelp - Ensure project builds successfully with Bun package manager - Address CodeRabbit review feedback for production readiness These fixes resolve all TypeScript compilation errors and make the project fully deployment-ready. Build now passes with zero errors. --- apps/web/src/types/modules.d.ts | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'apps/web/src/types') diff --git a/apps/web/src/types/modules.d.ts b/apps/web/src/types/modules.d.ts index 945b23fb..7cb7adfd 100644 --- a/apps/web/src/types/modules.d.ts +++ b/apps/web/src/types/modules.d.ts @@ -23,10 +23,46 @@ declare module 'lucide-react' { export const Magnet: FC; export const Lock: FC; export const ChevronLeft: FC; + export const ChevronRight: FC; + export const ChevronDown: FC; + export const ChevronUp: FC; export const Download: FC; export const Keyboard: FC; export const SkipBack: FC; export const SkipForward: FC; + export const Loader2: FC; + export const ExternalLink: FC; + export const ArrowRight: FC; + export const ArrowLeft: FC; + export const Expand: FC; + export const Plus: FC; + export const Upload: FC; + export const Image: FC; + export const MoreVertical: FC; + export const MoreHorizontal: FC; + export const Eye: FC; + export const EyeOff: FC; + export const Check: FC; + export const Circle: FC; + export const Search: FC; + export const X: FC; + export const PanelLeft: FC; + export const ChevronsUpDown: FC; + export const CheckIcon: FC; + export const Minus: FC; + export const RefreshCw: FC; + export const PipetteIcon: FC; + export const Type: FC; + export const Calendar: FC; + export const CaptionsIcon: FC; + export const ArrowLeftRightIcon: FC; + export const SparklesIcon: FC; + export const StickerIcon: FC; + export const MusicIcon: FC; + export const VideoIcon: FC; + export const BlendIcon: FC; + export const SlidersHorizontalIcon: FC; + export type LucideIcon = FC; // Add other icons as needed } -- cgit v1.3.1