I'm getting an error using it with Docz. The getFunctionStatement() of parser.ts is not defensive and it is accessing direct an undefined array in my case https://github.com/styleguidist/react-docgen-typescript/blob/91da436db05ca5dfe43fe9f730b1c3d3e7a122c8/src/parser.ts#L602