Skip to content

Commit

Permalink
fix(theme): fix search plugin options types
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Mar 14, 2022
1 parent d93b8aa commit 1e0d5de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/theme/src/shared/options/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ export interface SearchPluginOptions {
locales?: LocaleConfig<{
placeholder: string;
}>;
hotKeys: string[];
maxSuggestions: number;
isSearchable: (page: Page) => boolean;
getExtraFields: (page: Page) => string[];
hotKeys?: string[];
maxSuggestions?: number;
isSearchable?: (page: Page) => boolean;
getExtraFields?: (page: Page) => string[];
}

export interface HopeThemePluginsOptions {
Expand Down

0 comments on commit 1e0d5de

Please sign in to comment.