satori 0.4.8 → 0.4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -148,7 +148,7 @@ declare type SatoriOptions = ({
148
148
  embedFont?: boolean;
149
149
  debug?: boolean;
150
150
  graphemeImages?: Record<string, string>;
151
- loadAdditionalAsset?: (languageCode: string, segment: string) => Promise<FontOptions | string | undefined>;
151
+ loadAdditionalAsset?: (languageCode: string, segment: string) => Promise<string | Array<FontOptions>>;
152
152
  tailwindConfig?: TwConfig;
153
153
  };
154
154