2 ms·
Show HN: Runtime Type Reflection for TypeScript
- rezonant 5y agoAuthor 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.