The current code uses an old version of Typescript - and at least when I tried to build it locally this seemed to conflict with my local environment (even after trying npm install -g typescript@2).
I just fixed the code to work with Typescript 4+ by modifying a few types + splices.
Note: Not 100% on the process.cwd() fix - but certainly when I was running locally the previous ./ was looking in the same directory as the script, not the working directory where kumoconfig generated the .cfg.
Description
The current code uses an old version of Typescript - and at least when I tried to build it locally this seemed to conflict with my local environment (even after trying
npm install -g typescript@2
).I just fixed the code to work with Typescript 4+ by modifying a few types +
splice
s.Should resolve https://github.com/sushilks/kumojs/issues/4 too.
Note: Not 100% on the
process.cwd()
fix - but certainly when I was running locally the previous./
was looking in the same directory as the script, not the working directory wherekumoconfig
generated the.cfg
.Testing
Tested with local AC: