slovely / TypeScriptDefinitionsGenerator

Generate TypeScript .d.ts files for your server classes, plus optionally create client-side interfaces for WebAPI / SignalR server implementations
MIT License
10 stars 1 forks source link

Update `TsNamespaces` option to support wildcards for recursion #5

Closed slovely closed 8 years ago

slovely commented 8 years ago

At the moment, having this: <TsNamespace Include="MyNamespace" /> in the .props will include all objects name of MyNamespace or under (e.g. MyNamespace.OtherStuff).

Sometimes we don't want it to be recursive like this, so update to support a format like this: <TsNamespace Include="MyNamespace*" />. This means that the default is not to recursively add classes, it must be done explicitly with the wildcard.