uninstall @types/react-slick code example Example: react slick typescript npm i @types/react-slick yarn add @types/react-slick