Looking for a way to get all attributes / declarations from the Type. So I can make auto object transform between javascript and mongodb possible, with specific type.
I found Typescript: TS Playground already did the similar thing as what I need:
How can I extract the same info of resolved type as it does?
I tried to analyze with ast-viewer, also didn't get enough information there.
And ts-morph, got almost the same info as ast-viewer.

