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

Stance to TypeScript? #35

Open
1valdis opened this issue Jun 2, 2024 · 3 comments
Open

Stance to TypeScript? #35

1valdis opened this issue Jun 2, 2024 · 3 comments

Comments

@1valdis
Copy link

1valdis commented Jun 2, 2024

Hi there. Currently there's no TypeScript typings which makes the library harder to work with. Would you be interested in rewrite of the library to TypeScript?

@commenthol
Copy link
Owner

Hi @1valdis,
I am personally not interested in rewriting this lib to TS as IMO this is a hell of work.
I understand the need of typing's from a DX perspective and would prefer jsdoc typing's instead.
For me the TS compiler is here not in its way when working with unit tests aso.
Choosing JS for me is because it is a scripted language. No need for waiting on compilers to finish.

@1valdis
Copy link
Author

1valdis commented Jun 6, 2024

@commenthol So, do you not want to see any TypeScript initiative here at all, or if there is someone who wants to do that themselves, they can implement this on their own and you'd welcome this contribution? If latter, then you'd rather see a rewrite or just .d.ts typings?

@commenthol
Copy link
Owner

Hi @1valdis,
I'd like to say that I won't maintain a refactoring using typescript files within this project.
If you like to add jsdoc comments or .d.ts typescript declarations feel free to do so.

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

No branches or pull requests

2 participants