feat: working through all the algos i'll need
This commit is contained in:
parent
7101b99c35
commit
6f41e5760d
5 changed files with 264 additions and 27 deletions
|
|
@ -59,7 +59,8 @@ function create_class(name, item) {
|
|||
}
|
||||
|
||||
function create_function(name, item) {
|
||||
fs.writeFileSync(path.join(day_path, `${name}.ts`), `export default function ${item.fn}(${item.args}): ${item.return} {
|
||||
const g = item.generic ? item.generic : "";
|
||||
fs.writeFileSync(path.join(day_path, `${name}.ts`), `export default function ${item.fn}${g}(${item.args}): ${item.return} {
|
||||
|
||||
}`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue