diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-07-01 20:07:51 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-07-01 20:12:54 +1000 |
| commit | f2978efe205c509d79ced5b52d7fc311b1552e24 (patch) | |
| tree | 695389b5ca85f1e2bf60a771c03a9bda7c4a7c25 /src/lib.ts | |
| parent | 551fbe163b90cc1f318612c167fbdfe738dd7132 (diff) | |
Account for compound-node info-lookup sub-name-denoted node absence
Return a null entry in such cases, and have client indicate this with
tile-info message.
Diffstat (limited to 'src/lib.ts')
| -rw-r--r-- | src/lib.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ export type NodeInfo = { }; export type InfoResponse = { nodeInfo: NodeInfo, - subNodesInfo: [] | [NodeInfo, NodeInfo], + subNodesInfo: [] | [NodeInfo | null, NodeInfo | null], }; // Used by auto-mode and tutorial |
