Closed absolemDev closed 10 months ago
Кроме виджета yarn check
еще выдает ошибку
➤ YN0000: │
➤ YN0000: │ .yarn/unplugged/swiper-virtual-fdbed35c49/node_modules/swiper/react/swiper-react.d.ts
➤ YN0000: │
➤ YN0000: │ Error: Interface 'SwiperProps' incorrectly extends interface 'Omit<HTMLAttributes<HTMLElement>, "onKeyPress" | "onProgress" | "onClick" | "onDoubleClick" | "onTouchEnd" |
➤ YN0000: │ "onTouchMove" | "onTouchStart" | "onScroll" | "onTransitionEnd">'.
➤ YN0000: │ Types of property 'onResize' are incompatible.
➤ YN0000: │ Type '((swiper: Swiper) => void) | undefined' is not assignable to type 'ReactEventHandler<HTMLElement> | undefined'.
➤ YN0000: │ Type '(swiper: Swiper) => void' is not assignable to type 'ReactEventHandler<HTMLElement>'.
➤ YN0000: │ Types of parameters 'swiper' and 'event' are incompatible.
➤ YN0000: │ Type 'SyntheticEvent<HTMLElement, Event>' is missing the following properties from type 'Swiper': params, originalParams, $el, el, and 90 more.
➤ YN0000: │
➤ YN0000: │
➤ YN0000: │ .yarn/unplugged/swiper-virtual-fdbed35c49/node_modules/swiper/react/swiper-react.d.ts
➤ YN0000: │
➤ YN0000: │ Error: Interface 'SwiperSlideProps' incorrectly extends interface 'HTMLAttributes<HTMLElement>'.
➤ YN0000: │ Types of property 'children' are incompatible.
➤ YN0000: │ Type 'ReactNode | ((slideData: SlideData) => ReactNode)' is not assignable to type 'ReactNode'.
➤ YN0000: │ Type '(slideData: SlideData) => ReactNode' is not assignable to type 'ReactNode'.
➤ YN0000: │
Пробывал в проекте обновить зависимость @atls-ui-parts/swiper
до версии 0.0.5, не помогло.
yarn check
падает скорее всего из-за нескольких версий пакета swiper
. Проверь на всякий случай либо откатись на старую версию.
Обрати внимание на ругань IDE:
Эти ошибки пропадут после мержа моих изменений в мастер виджета
yarn check падает скорее всего из-за нескольких версий пакета swiper. Проверь на всякий случай либо откатись на старую версию.
Пофиксел.
На админке нужно добавить поле email
https://github.com/torin-asakura/drum-in/blob/4a8341e45c0542aa95abbc4810123d98a7a9a0f3/ui/form/src/data/queries/form-data-by-id.query.ts#L4
На админке нужно добавить поле
С админки тянется только плейсхолдер. Добавь в код сам, тем более что это универальный email
@Nelfimov, Namespace 'React' has no exported member 'JSX'.
так и не поддается.
Проверь сколько версий @types/react в проекте. Если что - фиксируй резолюшеном.
@Nelfimov, как только не кручу зависимости то yarn check
то yarn dev
ломаются...
начни с текущего состояния ремоута и попробуй так https://github.com/ant-design/ant-design/issues/44047#issuecomment-1667073195
начни с текущего состояния ремоута и попробуй так https://github.com/ant-design/ant-design/issues/44047#issuecomment-1667073195
и так пробовал
конфликт был в next
ПР создан в рамках задачи https://github.com/torin-asakura/drum-in/issues/120