use of io.crnk.gen.typescript.writer.TSWriter in project crnk-framework by crnk-project.
the class TSWriterTest method setup.
@Before
public void setup() {
TSCodeStyle codeStyle = new TSCodeStyle();
writer = new TSWriter(codeStyle);
}
use of io.crnk.gen.typescript.writer.TSWriter in project crnk-framework by crnk-project.
the class TSGenerator method writeSources.
protected void writeSources() throws IOException {
for (TSSource fileSource : sources) {
TSWriter writer = new TSWriter(config.getCodeStyle());
fileSource.accept(writer);
File file = getFile(fileSource);
String source = writer.toString();
write(file, source);
}
}
Aggregations