import { demoTree } from '.'; import type { BrigadierTreeCommand } from './types'; function commandArray(array: Array) { const out: Array = []; array.forEach((obj) => out.push(obj.command)); return out; } export const treeUtils = { commandArray, };