Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider switching to TypeScript #420

Open
Acconut opened this issue Jul 10, 2022 · 2 comments
Open

Consider switching to TypeScript #420

Acconut opened this issue Jul 10, 2022 · 2 comments

Comments

@Acconut
Copy link
Member

Acconut commented Jul 10, 2022

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.

@omBratteng
Copy link

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.

@Acconut
Copy link
Member Author

Acconut commented Mar 7, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants