GraphContent: fix tsc

This commit is contained in:
Liam Fitzgerald 2021-05-19 14:52:21 +10:00
parent ad08450626
commit 3bce33de3e
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -225,7 +225,7 @@ function stitchAsts(asts: [StitchMode, GraphAstNode][]) {
} }
return [mode, ast]; return [mode, ast];
}, },
['block', { type: 'root', children: [] }] ['block', { type: 'root', children: [] }] as [StitchMode, GraphAstNode]
); );
} }
const header = ({ children, depth, ...rest }) => { const header = ({ children, depth, ...rest }) => {