As stated in the title, this PR add an option to configure the name of the "type" property of the generated docgen.
The idea is to be able to generate the same docgen structure that is generated by react-docgen for a TS component.
My goal is to have a way to identify which type system the docgen info have been generated from and apply a specific series of transformation based on that type system.
As stated in the title, this PR add an option to configure the name of the "type" property of the generated docgen.
The idea is to be able to generate the same docgen structure that is generated by react-docgen for a TS component.
My goal is to have a way to identify which type system the docgen info have been generated from and apply a specific series of transformation based on that type system.
"type" -> PropTypes "tsType-> TypeScript "flowType" -> Flow
Thank you,
Patrick