wkaisertexas / tranzlate

Automatic string catalog translation w/ OpenAI's Chat Completion APIs
https://www.npmjs.com/package/tranzlate.js
MIT License
7 stars 1 forks source link

Move the library to typescript #6

Closed wkaisertexas closed 4 weeks ago

wkaisertexas commented 9 months ago

Lacking types will be a lingering problem. Moving to typescript should be as simple as a pattern-matched copy for all .js files. Obviously, this will require some thought around how types in the project will be structured, so the change should be done relatively late in the process.

Still better than writing unit tests.