TypeScript dependent types and function bivariance (reperiendi.wordpress.com) 19 points by metaweta 5y ago ↗ HN
[–] lights0123 5y ago ↗ > TypeScript now supportsWhat does "now" mean here? The sample code works fine on 3.3 (the earliest version I could select on the playground, I'm sure it works on earlier versions too), released in January 2019. [–] ameliaquining 5y ago ↗ Conditional types were introduced in TypeScript 2.8, released March 2018. The sample code from the documentation dates back to 2014: https://web.archive.org/web/20140407071740/http://www.typesc...
[–] ameliaquining 5y ago ↗ Conditional types were introduced in TypeScript 2.8, released March 2018. The sample code from the documentation dates back to 2014: https://web.archive.org/web/20140407071740/http://www.typesc...
2 comments
[ 3.4 ms ] story [ 10.7 ms ] threadWhat does "now" mean here? The sample code works fine on 3.3 (the earliest version I could select on the playground, I'm sure it works on earlier versions too), released in January 2019.