Try `npm install @types/react-slick` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-slick';` code example
Example: react slick typescript
npm i @types/react-slick
yarn add @types/react-slick
npm i @types/react-slick
yarn add @types/react-slick