(nodePath: readonly string[], segment: string)
| 19 | import { commitChildrenForVNode, isVNode } from "./validation.js"; |
| 20 | |
| 21 | export function appendNodePath(nodePath: readonly string[], segment: string): string[] { |
| 22 | return [...nodePath, segment]; |
| 23 | } |
| 24 | |
| 25 | export function formatNodePath(nodePath: readonly string[]): string { |
| 26 | return nodePath.join("/"); |