aboutsummaryrefslogtreecommitdiff
path: root/src/tol.ts
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-04-26 15:11:27 +1000
committerTerry Truong <terry06890@gmail.com>2022-04-26 15:11:27 +1000
commitde55b59141a82c68b6a5b360d6f57a7e760e2fd6 (patch)
tree8be1a1bdbb91b8ef7b71e5553f62fff176e8d6af /src/tol.ts
parent04e9444746d3ba8ddcc96d0fd16f1c02adce1389 (diff)
Make TolMap have Map type
Diffstat (limited to 'src/tol.ts')
-rw-r--r--src/tol.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tol.ts b/src/tol.ts
index ba6c6c8..daa3339 100644
--- a/src/tol.ts
+++ b/src/tol.ts
@@ -3,7 +3,7 @@
*/
// Maps tree-of-life node names to node objects
-export type TolMap = {[key: string]: TolNode};
+export type TolMap = Map<string, TolNode>;
// Represents a tree-of-life node
export class TolNode {
children: string[];