<Image src= { sessionData?.user.image} alt="user" width={100}
height={100} />`
Error is :
Type 'string | null | undefined' is not assignable to type 'string | StaticImport'.
Type 'undefined' is not assignable to type 'string | StaticImport'.ts(2322)
image-component.d.ts(7, 5): The expected type comes from property 'src' which
is declared here on type 'IntrinsicAttributes & Omit<DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>,
HTMLImageElement>, "ref" | ... 5 more ... | "srcSet"> & { ...; } & RefAttributes<...>'
Is There any way to give it a type or should i leave as it is becuase its not giving me any error in web page