netbeast / colorsys

:art: Minimalistic color converter for RGB, HSV, HSL, CMYK, HEX and CSS strings
http://getyeti.co
MIT License
57 stars 16 forks source link

rotateHue - fix for ie11 #10

Closed ashish-kale closed 6 years ago

jsdario commented 6 years ago

Interesting, in all these years, this is the first time I see the void operator

ashish-kale commented 6 years ago

I ran your code here https://www.typescriptlang.org/play/ to get the most correct ES5 output. Hence the void keyword.