devstar插件
This commit is contained in:
18
node_modules/@algolia/autocomplete-shared/dist/esm/js/HighlightHitParams.d.ts
generated
vendored
Normal file
18
node_modules/@algolia/autocomplete-shared/dist/esm/js/HighlightHitParams.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
export declare type HighlightHitParams<THit> = {
|
||||
/**
|
||||
* The Algolia hit whose attribute to retrieve the highlighted parts from.
|
||||
*/
|
||||
hit: THit;
|
||||
/**
|
||||
* The attribute to retrieve the highlighted parts from.
|
||||
*
|
||||
* You can use the array syntax to reference nested attributes.
|
||||
*/
|
||||
attribute: keyof THit | Array<string | number>;
|
||||
/**
|
||||
* The tag name to use for highlighted parts.
|
||||
*
|
||||
* @default "mark"
|
||||
*/
|
||||
tagName?: string;
|
||||
};
|
Reference in New Issue
Block a user