Skip to content

Commit 1709050

Browse files
committed
style: 🎨 Fix types
1 parent 423bb7e commit 1709050

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/types.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import type {
99

1010
import type { GenericCSSFamily } from './css/parse';
1111

12-
export interface FontProvider<FontProviderOptions = Record<string, unknown>> {
12+
export interface FontProvider {
1313
/**
1414
* Resolve data for `@font-face` declarations.
1515
*
@@ -19,7 +19,7 @@ export interface FontProvider<FontProviderOptions = Record<string, unknown>> {
1919
resolveFontFaces?: (
2020
fontFamily: string,
2121
options: ResolveFontOptions,
22-
) => Awaitable<void | {
22+
) => Awaitable<{
2323
/**
2424
* Return data used to generate @font-face declarations.
2525
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face

0 commit comments

Comments
 (0)