5 ms·
I believe ClojureScript only supports boolean type hints/performance optimization. Other type hints are "supported" but don't do anything.
by bostonOU 11y ago
I believe ClojureScript only supports boolean type hints/performance optimization. Other type hints are "supported" but don't do anything.
- Skinney 11y agoYeah. They are not really necessary in a Javascript VM that is optimized for these sort of languages anyway.
- swannodette 11y agoThis is not entirely accurate, the ClojureScript compiler actually internally propagates type information for further optimization. And nothing precludes a Typed ClojureScript which feeds even more information to the compiler.