UNPKG

typescript-algorithms-and-datastructures

Version:
8 lines (7 loc) 208 B
export declare class TrieWithValue<T> { static KEY: string; root: any; insert(word: string, value?: T): boolean; contains(word: string): boolean; getValue: (word: string) => any; }