I'm not quite sure if this is a bug but maybe some internal implementation is missing. 'children' implicitly has return type 'any' because it does not have a return type annotation and is referenced ...