fix: minor changes in types
This commit is contained in:
1 parent
43175fd52a
commit
7630802363
1 file changed
+7
-6
@@ -7,6 +7,7 @@
|
||||
import type {
|
||||
FontCategory,
|
||||
FontProvider,
|
||||
FontSubset,
|
||||
} from './common';
|
||||
import type { UnifiedFont } from './normalize';
|
||||
|
||||
@@ -27,13 +28,13 @@ export interface FontCollectionState {
|
||||
*/
|
||||
export interface FontCollectionFilters {
|
||||
/** Search query */
|
||||
searchQuery?: string;
|
||||
/** Filter by provider */
|
||||
provider?: FontProvider;
|
||||
/** Filter by category */
|
||||
category?: FontCategory;
|
||||
searchQuery: string;
|
||||
/** Filter by providers */
|
||||
providers?: FontProvider[];
|
||||
/** Filter by categories */
|
||||
categories?: FontCategory[];
|
||||
/** Filter by subsets */
|
||||
subsets?: string[];
|
||||
subsets?: FontSubset[];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user