I'm using the next/image component with TypeScript and getting this TS error when I try to set the layout prop:
Property 'layout' does not exist on type '(IntrinsicAttributes & Pick<DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "slot" | ... 259 more ... | "onTransitionEndCapture"> & { ...; } & { ...; }) | (IntrinsicAttributes & ... 2 more ... & { ...; })'
The docs claim:
unsized - Deprecated When true, the width and height requirement can by bypassed. Use the layout property instead!
My next version is 10.0.0:

Steps to reproduce the behavior, please provide code snippets or a repository:
next/image component in a Next + TS project.layout prop.You need to upgrade to 10.0.1.
@timneutkens I upgraded next version to 10.0.1 and still got the exact same error

@timneutkens I upgraded next version to 10.0.1 and still got the exact same error
Yeah, version 10.0.1 still does not recognize layout prop.
@timneutkens please, open this issue again, just tried with versions 10.0.1 and 10.0.2-canary.2 and both still can't find that prop.
Most helpful comment
@timneutkens I upgraded next version to 10.0.1 and still got the exact same error