fix: update import path for RequireSome type in Toast component

- Changed the import path for RequireSome type from '@types' to '@/types' to align with the project's directory structure.
This commit is contained in:
MyPrototypeWhat 2025-10-14 14:12:55 +08:00
parent 534c2ce485
commit b821ac5390

View File

@ -1,5 +1,6 @@
import { addToast, closeAll, closeToast, getToastQueue, isToastClosing } from '@heroui/toast'
import type { RequireSome } from '@types'
import type { RequireSome } from '@/types'
type AddToastProps = Parameters<typeof addToast>[0]
type ToastPropsColored = Omit<AddToastProps, 'color'>