After doing a few different projects in both TypeScript and JavaScript, I am pretty much TypeScript everything.
Not only do I feel comfortable about knowing basic typos will be found, I find it just so much easier to fully navigate a new project.
The only time it becomes a little annoying is if I know I have to use some small library that doesn’t have any types made out yet. So then I do have to make the choice am I going to go through the library and figure out how everything is done and make some types myself, or just do the last resort and just declare a type module that is type of any. But I usual try to avoid those libraries, or I just create basic types as I see I will need them for the library.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
After doing a few different projects in both TypeScript and JavaScript, I am pretty much TypeScript everything.
Not only do I feel comfortable about knowing basic typos will be found, I find it just so much easier to fully navigate a new project.
The only time it becomes a little annoying is if I know I have to use some small library that doesn’t have any types made out yet. So then I do have to make the choice am I going to go through the library and figure out how everything is done and make some types myself, or just do the last resort and just declare a type module that is type of any. But I usual try to avoid those libraries, or I just create basic types as I see I will need them for the library.