Closed AntoineKM closed 8 months ago
looks good, but was there any actual code/feature change @AntoineKM or is this just a migration to TS?
looks good, but was there any actual code/feature change @AntoineKM or is this just a migration to TS?
Thanks, it's just a migration to TS, I'll do other pull requests with new features, once this one is merge 😁
What did I change? I just switched from
mjs
tots
(commonjs), no more/no fewer features, all this to get all ts benefits.Why did I change it? As a new contributor, it is difficult to directly understand how the code is working, using the shared functions and what should it return, etc. Also, I think that in the long term, it might be a good idea to have safe types for future contributions.