The slice of NodeapplyLayers walks: a mask and children.
Structural rather than import type { Node }, for the reason authority.ts
gives: node.ts imports this module at runtime (for
DEFAULT_LAYER_MASK), so naming the class here — even type-only —
would close an import cycle between the two files. Every Node satisfies
this shape.
The slice of
NodeapplyLayers walks: a mask and children.Structural rather than
import type { Node }, for the reasonauthority.tsgives:node.tsimports this module at runtime (for DEFAULT_LAYER_MASK), so naming the class here — even type-only — would close an import cycle between the two files. EveryNodesatisfies this shape.