diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-07-16 14:37:08 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-07-16 14:37:08 +0200 |
| commit | 8bc26539ebe44d6ff0d74d86ef316934c7f18faf (patch) | |
| tree | aab9487ca4a44a5d9f12b3b2b6718bc28d01a303 /apps/web/src/types | |
| parent | 527d5888974f64abc33dfd7af4ec4dc7d2eb293c (diff) | |
| download | opencut-8bc26539ebe44d6ff0d74d86ef316934c7f18faf.tar.gz | |
cleanup (this doesn't work)
Diffstat (limited to 'apps/web/src/types')
| -rw-r--r-- | apps/web/src/types/global.d.ts | 19 | ||||
| -rw-r--r-- | apps/web/src/types/modules.d.ts | 100 |
2 files changed, 0 insertions, 119 deletions
diff --git a/apps/web/src/types/global.d.ts b/apps/web/src/types/global.d.ts deleted file mode 100644 index f99e4cc3..00000000 --- a/apps/web/src/types/global.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -/// <reference types="react" /> -/// <reference types="react-dom" /> - -// Global React types -declare global { - namespace JSX { - interface IntrinsicElements { - [elemName: string]: any; - } - } -} - -// React module declarations -declare module 'react' { - export * from '@types/react'; -} - -// Ensure this file is treated as a module -export {};
\ No newline at end of file diff --git a/apps/web/src/types/modules.d.ts b/apps/web/src/types/modules.d.ts deleted file mode 100644 index 7cb7adfd..00000000 --- a/apps/web/src/types/modules.d.ts +++ /dev/null @@ -1,100 +0,0 @@ -// Type declarations for external modules without @types packages - -declare module 'lucide-react' { - import { FC, SVGProps } from 'react'; - - export interface IconProps extends SVGProps<SVGSVGElement> { - size?: string | number; - strokeWidth?: string | number; - } - - export const Scissors: FC<IconProps>; - export const ArrowLeftToLine: FC<IconProps>; - export const ArrowRightToLine: FC<IconProps>; - export const Trash2: FC<IconProps>; - export const Snowflake: FC<IconProps>; - export const Copy: FC<IconProps>; - export const SplitSquareHorizontal: FC<IconProps>; - export const Pause: FC<IconProps>; - export const Play: FC<IconProps>; - export const Video: FC<IconProps>; - export const Music: FC<IconProps>; - export const TypeIcon: FC<IconProps>; - export const Magnet: FC<IconProps>; - export const Lock: FC<IconProps>; - export const ChevronLeft: FC<IconProps>; - export const ChevronRight: FC<IconProps>; - export const ChevronDown: FC<IconProps>; - export const ChevronUp: FC<IconProps>; - export const Download: FC<IconProps>; - export const Keyboard: FC<IconProps>; - export const SkipBack: FC<IconProps>; - export const SkipForward: FC<IconProps>; - export const Loader2: FC<IconProps>; - export const ExternalLink: FC<IconProps>; - export const ArrowRight: FC<IconProps>; - export const ArrowLeft: FC<IconProps>; - export const Expand: FC<IconProps>; - export const Plus: FC<IconProps>; - export const Upload: FC<IconProps>; - export const Image: FC<IconProps>; - export const MoreVertical: FC<IconProps>; - export const MoreHorizontal: FC<IconProps>; - export const Eye: FC<IconProps>; - export const EyeOff: FC<IconProps>; - export const Check: FC<IconProps>; - export const Circle: FC<IconProps>; - export const Search: FC<IconProps>; - export const X: FC<IconProps>; - export const PanelLeft: FC<IconProps>; - export const ChevronsUpDown: FC<IconProps>; - export const CheckIcon: FC<IconProps>; - export const Minus: FC<IconProps>; - export const RefreshCw: FC<IconProps>; - export const PipetteIcon: FC<IconProps>; - export const Type: FC<IconProps>; - export const Calendar: FC<IconProps>; - export const CaptionsIcon: FC<IconProps>; - export const ArrowLeftRightIcon: FC<IconProps>; - export const SparklesIcon: FC<IconProps>; - export const StickerIcon: FC<IconProps>; - export const MusicIcon: FC<IconProps>; - export const VideoIcon: FC<IconProps>; - export const BlendIcon: FC<IconProps>; - export const SlidersHorizontalIcon: FC<IconProps>; - export type LucideIcon = FC<IconProps>; - // Add other icons as needed -} - -declare module 'sonner' { - export interface ToastOptions { - duration?: number; - position?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center'; - style?: React.CSSProperties; - className?: string; - description?: string; - action?: { - label: string; - onClick: () => void; - }; - cancel?: { - label: string; - onClick?: () => void; - }; - id?: string | number; - onDismiss?: (toast: any) => void; - onAutoClose?: (toast: any) => void; - } - - export interface Toast { - success: (message: string, options?: ToastOptions) => void; - error: (message: string, options?: ToastOptions) => void; - info: (message: string, options?: ToastOptions) => void; - warning: (message: string, options?: ToastOptions) => void; - loading: (message: string, options?: ToastOptions) => void; - custom: (jsx: React.ReactNode, options?: ToastOptions) => void; - } - - export const toast: Toast; - export const Toaster: React.FC<any>; -}
\ No newline at end of file |
