I need to extract Props interface from my React component to get documentation see this typescript wiki issue https://github.com/Microsoft/TypeScript-wiki/issues/65
.net analog How to get base class's generic type parameter?
I need to extract Props interface from my React component to get documentation see this typescript wiki issue https://github.com/Microsoft/TypeScript-wiki/issues/65
.net analog How to get base class's generic type parameter?
Typescript is just Javascript. There is no reflection. It's not C#, it's not a real object oriented language.
So if you want to extract the properties of your js object you have to use javascript.
Check this link to see how to.