You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As this is a small project, converting it to typescript is a task that should not be that hard.
Benefits
If the project is in typescript, we can generate a typed.d.ts file containing all the types from this project. This file, in turn, would make this library available for TypeScript user.
More types mean fewer errors, an easier coding experience, and overall better readability of the code.
Cons
Adding typescript brings some complexity in configuration and requires more knowledge to maintain than a vanilla JS project.
Proposition
As this is a small project, converting it to typescript is a task that should not be that hard.
Benefits
If the project is in typescript, we can generate a
typed.d.ts
file containing all the types from this project. This file, in turn, would make this library available for TypeScript user.More types mean fewer errors, an easier coding experience, and overall better readability of the code.
Cons
Adding typescript brings some complexity in configuration and requires more knowledge to maintain than a vanilla JS project.
Related to #118
The text was updated successfully, but these errors were encountered: