react-docgen
react-docgen copied to clipboard
Stack overflow with cast generic
export const toArray = <T>(arr?: any) =>
([] as T[]).concat(arr);
Will break. It's due to the as T[], maybe a similar issue as #410 ?