UNPKG

libstl

Version:

Standard JavaScript/TypeScript Library: DoublyLinkedList, Stack, Queue, Heap, MaxHeap, MinHeap, PriorityQueue

27 lines 463 B
/** * The Trie class * * @class Trie */ var Trie = (function () { function Trie() { } /** * Adds a word to the trie * * @param word A word to insert. */ Trie.prototype.insert = function (word) { }; /** * * @param word * @return {boolean} */ Trie.prototype.contains = function (word) { return true; }; return Trie; })(); module.exports = Trie; //# sourceMappingURL=Trie.js.map