|
/Users/mac/gat/eap-web/node_modules/swiper/swiper-react.d.ts
ERROR in /Users/mac/gat/eap-web/node_modules/swiper/swiper-react.d.ts(6,11):
TS2430: Interface 'Swiper' incorrectly extends interface 'Pick<HTMLAttributes<HTMLElement>, "className" | "slot" | "style" | "title" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | ... 239 more ... | "onTransitionEndCapture">'.
Types of property 'onKeyPress' are incompatible.
Type '(swiper: Swiper, keyCode: string) => void' is not assignable to type '(event: KeyboardEvent<HTMLElement>) => void'.
|
|