Firstly, don’t post code as images. It’s code, not art, and in that image, it’s practically unreadable. Copy-paste it as text and format it as code (by putting three backticks ``` on a line of their own above and below the code).
Secondly, the error tells you exactly how to fix it. Specify a different type than any.
@afoysal You fix TypeScript issues by actually reading the error messages instead of screenshot-ing them, posting them on a forum, and making someone else read it to tell you the same thing the error messages are.