Skip to content

Commit d8fef61

Browse files
committed
fix: allow font resolvers to return fallback information
This partially reverts commit c9abd46.
1 parent 777424c commit d8fef61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export interface ResolveFontResult {
8181
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face
8282
*/
8383
fonts: FontFaceData[]
84+
fallbacks?: string[]
8485
}
8586

8687
export interface InitializedProvider<

0 commit comments

Comments
 (0)