crx
crx copied to clipboard
TypeScript
What do you think about moving to TypeScript?
What are the pros?
I'd like to learn but I'm not sure it's bringing a lot of value to this project. Do you think it would simplify some aspects of it?
Personally, I don't know how people maintain big projects without typings :) I have worked on such one and it is really hard especially when you see the code first time.
BTW, you can use JavaScript with TypeScript type checker: https://github.com/Microsoft/TypeScript/wiki/Type-Checking-JavaScript-Files
I’m keen on adding a TS definition file. It would be a nice first step.
I’m willing to have a go at it while porting the code to be an ESM first module.