5 ms·
"Requiring a specific compiler" That happens every day in other languages. Lots of C++ projects require Visual Studio on Windows, sometimes certain other tools
by o1y32 3y ago
"Requiring a specific compiler"
That happens every day in other languages. Lots of C++ projects require Visual Studio on Windows, sometimes certain other tools (e.g. https://winscp.net/forum/viewtopic.php?t=25209 https://winscp.net/forum/viewtopic.php?t=25209). Other projects expect you to use the official compiler, because almost nobody ever tried using a non official compiler with that project and how see how things would go. I don't know how it is a problem if TypeScript compiler is required (by itself).
- zeroCalories 3y agoI think we're talking about two different problems. You don't need to switch your whole project to typescript to use typescript, I'm just talking about the headache that comes from mixing something like vanilla js, webpack, closure compiler, and typescript. Vanilla js with JSDoc tends to play well with everything, so I think it's well suited for a library.