forked from geolba/tethys.backend
9 lines
191 B
TypeScript
9 lines
191 B
TypeScript
|
export default class TrieNode {
|
||
|
children: { [key: string]: TrieNode };
|
||
|
isEndOfWord: boolean;
|
||
|
|
||
|
constructor() {
|
||
|
this.children = {};
|
||
|
this.isEndOfWord = false;
|
||
|
}
|
||
|
}
|