BlockVisitor: ((block: Block | PropertyBlock, path: string) => void)

Called once per block by walk, with the block's dotted path from the root.

const visitor: BlockVisitor = (block, path) => console.log(path, block.kind)