Function walk
has 26 lines of code (exceeds 25 allowed). Consider refactoring. New
New
const walk = (objs: Tree.Node[], parent: Tree.Index<N>) => {
const children: Tree.Id[] = [];
objs.forEach((obj: N) => {
const index: Tree.Index<N> = {
id: this.cnt,