How to change TypeLite Output Directory

Currently, all my TypeScript models are located under Scripts/typings/Library. By default, TypeLite is only under scripts. Is there a way to specify the output directory so that it is under the name of the user library? those. Scripts/typings/MyCSharpProj?

+4
source share
1 answer

TypeLite uses T4 templates to generate output files, and I am afraid that changing the output template for the template is not possible. The output file is always created with the template.

If you move Manager.ttinclude TypeLite.tt, and TypeLite.Net4.ttin a different directory, and the output files will be created there.

+3
source

Source: https://habr.com/ru/post/1610999/


All Articles