@kamilmielnik/trie
Version:
Trie data structure implementation in TypeScript. Highly performant. No dependencies. Built for a Scrabble Solver.
11 lines (10 loc) • 354 B
TypeScript
import type { Node } from '../types';
/**
* Creates a new {@link Node} by deserializing given string.
*
* The inverse of {@link serialize}.
*
* @param serialized - String with value returned by {@link serialize}.
* @returns Instance of a root {@link Node} of deserialized string.
*/
export declare const deserialize: (serialized: string) => Node;