File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function adaptHighlight(
42
42
// formattedHit is the `_formatted` object returned by MeiliSearch.
43
43
// It contains all the highlighted and croped attributes
44
44
return Object . keys ( formattedHit ) . reduce ( ( result , key ) => {
45
- ; ( result [ key ] as any ) = {
45
+ ; ( result [ key ] as any ) = {
46
46
value : replaceHighlightTags (
47
47
formattedHit [ key ] ,
48
48
highlightPreTag ,
@@ -108,7 +108,7 @@ function adaptSnippet(
108
108
// It contains all the highlighted and croped attributes
109
109
return ( Object . keys ( formattedHit ) as any [ ] ) . reduce ( ( result , key ) => {
110
110
if ( attributesToSnippet ?. includes ( key ) ) {
111
- ; ( result [ key ] as any ) = {
111
+ ; ( result [ key ] as any ) = {
112
112
value : snippetValue (
113
113
formattedHit [ key ] ,
114
114
snippetEllipsisText ,
You can’t perform that action at this time.
0 commit comments