Finish implementation of typescript generator.
The implementation is still untested and will have issues
This commit is contained in:
@ -137,9 +137,9 @@ impl FileGenerator {
|
||||
self.a(6, content);
|
||||
}
|
||||
|
||||
pub fn add_line(&mut self, line: &str) {
|
||||
self.content.push(line.to_string());
|
||||
}
|
||||
// pub fn add_line(&mut self, line: &str) {
|
||||
// self.content.push(line.to_string());
|
||||
// }
|
||||
|
||||
pub fn get_content(&self) -> String {
|
||||
self.content.join("\n")
|
||||
|
Reference in New Issue
Block a user