svenheden / csharp-models-to-typescript

C# models to TypeScript
88 stars 58 forks source link

Generate interfaces for all implementations of some interface #34

Open jannikbuschke opened 5 years ago

jannikbuschke commented 5 years ago

The thing I would like to do is to generate TS interfaces for all classes of some specific interface. I.e. I am using MediatR to model commands, so any command type implements the interface MediatR.IRequest.

It would be nice to be able to not specify all specific classes (they are all over the project). Is this possible? If not would consider accepting PRs for this feature (or even add it yourself)?