Skip to content

Commit 8e4cbb4

Browse files
committed
fix FontLibrary.use return type
1 parent 6b4734a commit 8e4cbb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ interface FontLibrary {
922922
use(fontPaths: readonly string[]): Font[]
923923
use(
924924
families: Record<string, readonly string[] | string>
925-
): Record<string, Font[] | Font>
925+
): Record<string, Font[]>
926926

927927
reset(): void
928928
}

0 commit comments

Comments
 (0)