We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a935d88 commit 0a2581eCopy full SHA for 0a2581e
packages/client-search/src/types/Hit.ts
@@ -8,7 +8,7 @@ type HighlightMatch = {
8
export type HighlightResult<THit> = THit extends string | number
9
? HighlightMatch
10
: {
11
- [KAttribute in keyof THit]: HighlightResult<THit[KAttribute]>;
+ [KAttribute in keyof THit]?: HighlightResult<THit[KAttribute]>;
12
};
13
14
type SnippetMatch = {
0 commit comments