Skip to content
Snippets Groups Projects
Commit d1181bea authored by marihachi's avatar marihachi
Browse files

update

parent 10e50dd8
No related branches found
No related tags found
No related merge requests found
......@@ -25,8 +25,8 @@ export function toString(node: MfmNode | MfmNode[]): string {
}
}
export function inspect(tree: MfmNode[], action: (node: MfmNode) => void): void {
for (const node of tree) {
export function inspect(nodes: MfmNode[], action: (node: MfmNode) => void): void {
for (const node of nodes) {
action(node);
if (node.children != null) {
inspect(node.children, action);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment