| ▲ | Brysonbw 2 days ago | |
I'm a big advocate for explicit type annotations in code. Likewise, either or is good with me. However, these days I lean towards using JSDoc only because I prefer not to add typescript lib and an additional build step just to get type safety in a project. Also, you can use both (if that's what you prefer). | ||