Check out example codes for "react slick typescript". It will help you in understanding the concepts better.

Code Example 1

npm i @types/react-slick
yarn add @types/react-slick

Learn ReactJs, React Native from akashmittal.com