Build out m2anode in query-to-ast

This commit is contained in:
rijkvanzanten
2020-10-09 17:09:51 -04:00
parent a16e5774f8
commit 321580dfd4
2 changed files with 22 additions and 6 deletions

View File

@@ -19,7 +19,8 @@ export default async function runAST(
): Promise<null | Item | Item[]> {
const ast = cloneDeep(originalAST);
console.log(ast);
// @ts-ignore
console.log((ast as AST).children[3]);
if (ast.type === 'm2a') return null;