1 comment

[ 4.1 ms ] story [ 16.1 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.