3 ms·
You can annotate types within JSDoc, which can help somewhat. But granted, compared to statically typed languages it's still a clusterfuck. Currently writing do
by ygra 12y ago
You can annotate types within JSDoc, which can help somewhat. But granted, compared to statically typed languages it's still a clusterfuck. Currently writing documentation comment translation for a C#→Java/JS compiler and I'm injecting as much type-system metadata as I can, but IDE and editors still disagree to what extent they're actually using that.