Skip to content

Commit

Permalink
style: resolve consistent-indexed-object-style
Browse files Browse the repository at this point in the history
  • Loading branch information
vil02 committed Jun 6, 2024
1 parent 8c8a0ec commit 69ec4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_structures/tries/tries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class TrieNode {
/**
* An object that stores child nodes for each character in the alphabet.
*/
children: { [key: string]: TrieNode } = {}
children: Record<string, TrieNode> = {}

/**
* Indicates whether the node represents the end of a word.
Expand Down

0 comments on commit 69ec4e0

Please sign in to comment.