fix(treeNode): fixed the syntax of the link function

Signed-off-by: Josh Kurz <josh.kurz@turner.com>