Support Typescript 'type' template
bartlomn opened this issue · 1 comments
bartlomn commented
Given:
CodeGen.getTypescriptCode({
template: {
class: fs.readFileSync('./my-class.mustache', 'utf-8'),
method: fs.readFileSync('./my-method.mustache', 'utf-8'),
type: fs.readFileSync('./my-type.mustache', 'utf-8')
}});
Expected:
typescript types are generated using custom my-type.mustache
template
Actual:
Default templates are used