Javascript Next Js Typescript Getting Error Ts2304 Cannot Find Name

Javascript Next Js Typescript Getting Error Ts2304 Cannot Find Name