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

Typescript? #7

Closed
berekuk opened this issue Mar 16, 2022 · 4 comments
Closed

Typescript? #7

berekuk opened this issue Mar 16, 2022 · 4 comments

Comments

@berekuk
Copy link
Collaborator

berekuk commented Mar 16, 2022

Can I (gradually) convert everything to Typescript? :)

It seems to me that TS have "won" and everyone converts their projects to it eventually (unless they pick something like ReasonML or Elm).

The costs for converting to TS are proportional to the amount of code, so it might be better to start this early.

I think even with "noImplicitAny": false (e.g., most of JS code is a valid TS code) it still might be beneficial for safer refactorings and adopting types gradually.

@NunoSempere
Copy link
Collaborator

@OAGr, any thoughts? My guess is that this would be fine in itself but might take too much time.

@OAGr
Copy link

OAGr commented Mar 16, 2022

I like Typescript, happy for things to gradually move in that direction.

@berekuk
Copy link
Collaborator Author

berekuk commented Mar 21, 2022

I added some basic & very forgiving (allowJs=true, strict=false) TypeScript setup in #8.

@NunoSempere
Copy link
Collaborator

Closing this issue to keep the number of issues contained.

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

3 participants