This repository demonstrates a basic autocomplete system implemented in TypeScript. It includes an Autocomplete class, a Trie data structure, and user actions for updating word priorities.
Follow these steps to run the example:
-
Install Dependencies:
npm install
-
Compile TypeScript:
npm run compile
-
Run the Example:
npm start
-
Start:
npm start
Compiles TypeScript and runs the example.
-
Compile:
npm run compile
Compiles TypeScript
-
Clean:
npm run clean
Removes the
dist
directory.
This project is licensed under the MIT License - see the LICENSE file for details.