fix: minor changes in types

This commit is contained in:
Ilia Mashkov
2026-01-09 16:20:25 +03:00
parent 43175fd52a
commit 7630802363

View File

@@ -7,6 +7,7 @@
import type { import type {
FontCategory, FontCategory,
FontProvider, FontProvider,
FontSubset,
} from './common'; } from './common';
import type { UnifiedFont } from './normalize'; import type { UnifiedFont } from './normalize';
@@ -27,13 +28,13 @@ export interface FontCollectionState {
*/ */
export interface FontCollectionFilters { export interface FontCollectionFilters {
/** Search query */ /** Search query */
searchQuery?: string; searchQuery: string;
/** Filter by provider */ /** Filter by providers */
provider?: FontProvider; providers?: FontProvider[];
/** Filter by category */ /** Filter by categories */
category?: FontCategory; categories?: FontCategory[];
/** Filter by subsets */ /** Filter by subsets */
subsets?: string[]; subsets?: FontSubset[];
} }
/** /**