UNPKG

fast-trie-search

Version:

This package can be used to implement a Search-As-You-Type funtionality and uses a Trie data structure

16 lines 490 B
type Options = { outputProps?: string[]; addKey?: boolean; splitRegex?: string; searchStartIndex?: number; excludeNodes?: string[]; }; declare class TrieNode { m: any; w: any; constructor(); } declare const generateTrie: (objArray: any, searchProp: any, options?: Options) => TrieNode; declare const search: (str: string, startIndex: number, root: TrieNode) => any; export { generateTrie, search, TrieNode, Options }; //# sourceMappingURL=trieSearch.d.ts.map