jonorthwash / ud-annotatrix

GNU General Public License v3.0
63 stars 49 forks source link

Convert all of `client/` to TypeScript #503

Closed keggsmurph21 closed 2 years ago

keggsmurph21 commented 2 years ago

Another follow-up to #496 and #497. The last piece now is just to convert the stuff in server/, and then we can start doing some actual refactoring/simplification without breaking anything :partying_face:

AFAICT, this PR doesn't change any developer-facing tools -- if you make changes to client/ you still need to use npm run build to regenerate the bundle.js.

These changes were also intended to preserve as much of the previous implementation as possible -- in nearly all cases the changes are just introducing type annotations that will ultimately get stripped out by tsc (the TypeScript compiler).

keggsmurph21 commented 2 years ago

FYI @jonorthwash @zensho.