aboutsummaryrefslogtreecommitdiff
path: root/src/tol.ts
diff options
context:
space:
mode:
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 15f1a94..aa9a9b1 100644
--- a/src/tol.ts
+++ b/src/tol.ts
@@ -11,7 +11,7 @@ export class TolNode {
tips: number;
pSupport: boolean;
commonName: null | string;
- imgName: null | string | [string, string];
+ imgName: null | string | [string, string] | [null, string] | [string, null];
constructor(children: string[] = [], parent = null, tips = 0, pSupport = false){
this.children = children;
this.parent = parent;