File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/runtime/server/og-image/satori Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ import type { JpegOptions } from 'sharp'
33import type { OgImageRenderEventContext , Renderer , ResolvedFontConfig } from '../../../types'
44import { fontCache } from '#og-image-cache'
55import { theme } from '#og-image-virtual/unocss-config.mjs'
6+ // @ts -expect-error untyped
7+ import compatibility from '#og-image/compatibility'
68import { defu } from 'defu'
79import { sendError } from 'h3'
810import { normaliseFontInput , useOgImageRuntimeConfig } from '../../../shared'
911import { loadFont } from './font'
1012import { useResvg , useSatori , useSharp } from './instances'
1113import { createVNodes } from './vnodes'
12- // @ts -expect-error untyped
13- import compatibility from '#og-image/compatibility'
1414
1515const fontPromises : Record < string , Promise < ResolvedFontConfig > > = { }
1616
You can’t perform that action at this time.
0 commit comments