fix: cast satori input to fix TS2345 in ogImage #2
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ async function generateSocialImage(
|
|||
imageBase64,
|
||||
})
|
||||
|
||||
const svg = await satori(imageComponent, {
|
||||
const svg = await satori(imageComponent as unknown as Parameters<typeof satori>[0], {
|
||||
width,
|
||||
height,
|
||||
fonts,
|
||||
|
|
|
|||
Loading…
Reference in a new issue