Skip to content

Commit c70859e

Browse files
committed
fix: metrics can be omitted
1 parent 4913379 commit c70859e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/css.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const withoutQuotes = (str: string) => str.trim().replace(QUOTES_RE, '')
3939
interface FallbackOptions {
4040
name: string
4141
font: string
42-
metrics: FontFaceMetrics
42+
metrics?: FontFaceMetrics
4343
[key: string]: any
4444
}
4545

0 commit comments

Comments
 (0)