UNPKG

@nolus/nolusjs

Version:

JS library for NodeJS and Web browsers to interact with the Nolus Protocol

12 lines (11 loc) 193 B
type Node = [number, string]; type Branch<T> = { value: Node; children?: T[]; }; export interface Tree extends Branch<Tree> { } export interface SwapTree { tree: Tree; } export {};