1 comment

[ 2.4 ms ] story [ 14.9 ms ] thread
Author here; Typescript itself provides only a limited subset of type reflection functionality, and only when decorators are used. This solution uses a TypeScript transformer to emit rich type information for classes, functions and interfaces without needing to use decorators. That information can then be introspected using a comprehensive reflection API.