Finish implementation of typescript generator.

The implementation is still untested and will
have issues
This commit is contained in:
Fabian Stamm
2025-05-27 19:58:40 +02:00
parent 0e73f7b5b3
commit ffacba2e96
9 changed files with 381 additions and 279 deletions

View File

@ -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")