chore: remove ignored files from tracking

This commit is contained in:
2026-03-24 23:26:37 +01:00
parent a69394a05b
commit 8e5a4b08bb
1604 changed files with 0 additions and 885227 deletions

View File

@@ -1,28 +0,0 @@
import { List } from '../utils/List.js';
export function createConvertor(walk) {
return {
fromPlainObject(ast) {
walk(ast, {
enter(node) {
if (node.children && node.children instanceof List === false) {
node.children = new List().fromArray(node.children);
}
}
});
return ast;
},
toPlainObject(ast) {
walk(ast, {
leave(node) {
if (node.children && node.children instanceof List) {
node.children = node.children.toArray();
}
}
});
return ast;
}
};
};