Use build-time og images #786
Annotations
3 errors and 2 warnings
⬣ Lint:
app/routes/og.blog.$slug.tsx#L69
Property 'post' does not exist on type 'JsonifyObject<OpenGraphImageData>[] | JsonifyObject<{ post: { dateDisplay: string; authors: { title: string; imgSrc: string; name: string; avatar: string; }[]; date: Date; ... 8 more ...; imageDisableOverlay?: boolean | undefined; }; backgroundImage: string; }>'.
|
⬣ Lint:
app/routes/og.blog.$slug.tsx#L69
Property 'backgroundImage' does not exist on type 'JsonifyObject<OpenGraphImageData>[] | JsonifyObject<{ post: { dateDisplay: string; authors: { title: string; imgSrc: string; name: string; avatar: string; }[]; date: Date; ... 8 more ...; imageDisableOverlay?: boolean | undefined; }; backgroundImage: string; }>'.
|
⬣ Lint
Process completed with exit code 1.
|
⬣ Lint:
app/routes/og.blog.$slug.tsx#L5
Import "OpenGraphImageData" is only used as types
|
⬣ Lint:
app/routes/og.blog.$slug.tsx#L6
Import "BlogAuthor" is only used as types
|