wessberg / DI-compiler

A Custom Transformer for Typescript that enables compile-time Dependency Injection
MIT License
80 stars 7 forks source link

Fix for generics #18

Closed cmidgley closed 2 years ago

cmidgley commented 2 years ago

Support for generics, as #11.

Note that I removed the limitation on ~4.6.4 for typescript as we discussed, but I am unable to build without it. Also backed out the version number/change log changes, and made the suggested change for generics and have tested it against my codebase (around 500 tests that use DI including many with generics, but not testing DI itself specifically).

wessberg commented 2 years ago

LGTM. Thanks a lot!