Merge pull request 'fix: cast satori input to fix TS2345 in ogImage' (#2) from void/fix-ogimage-types into main
All checks were successful
Engine CI / build-and-test (ubuntu-latest) (push) Successful in 2m58s
All checks were successful
Engine CI / build-and-test (ubuntu-latest) (push) Successful in 2m58s
This commit is contained in:
commit
cd84b8101f
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