This commit is contained in:
Михаил Капелько
2023-06-15 19:30:18 +03:00
parent 0966feb3f8
commit a0fbb4132b
13 changed files with 53 additions and 116 deletions

View File

@@ -13,9 +13,11 @@ let fileDst = process.argv[3];
let globalReplacements = {
"function": "func",
"number": "Float",
"Number": "Float",
"):": ") ->",
"interface": "protocol",
"})": "}", // forEach
".push(": ".append(", // array
};
console.log(`Converting '${fileSrc}' to '${fileDst}'`);