tus-js-client icon indicating copy to clipboard operation
tus-js-client copied to clipboard

Consider switching to TypeScript

Open Acconut opened this issue 1 year ago • 2 comments

tus-js-client might benefit from using TypeScript. In particular, the type safety could be helpful if we want to switch to a state-machine. https://transloadit.slack.com/archives/C02J6C6GQKE/p1656938073529209 provides helpful insights for a tool-assisted switch.

Acconut avatar Jul 10 '22 21:07 Acconut

I think this would be a major improvement, as keeping the type definitions file up to date is tedious work and might result in errors.

omBratteng avatar Feb 22 '23 06:02 omBratteng

Yes, I agree. I could see tus-js-client utilizing TS in the near future.

Acconut avatar Mar 07 '23 14:03 Acconut