Re:Announcing CoffeeScript 2
by GeoffreyBooth on Monday September 18, 2017 @04:02PM
(#15279014)
It’s not elegant, but there is a way to do type checking in CoffeeScript: http://coffeescript.org/#type-annotations
[ Parent
| on HN ]
This is cool! That being said, it would be very nice to have (optional) syntactically more beautiful type annotation. I assume Flow must be compatible with regular javascript, but CoffeeScript could take more flexible approach. I have no idea what the actual syntax could be, though.