Комментарии:
Or you can pass in an object with both entries as part of it and then destructure it accordingly to use in your function. This way you don’t need to have such a hacks approach of additional methods, nor strange types. Interesting video though
ОтветитьUgh, that's disgusting. Whyyy do duck typing. Good fix though, thanks.
ОтветитьThis is gold :)
ОтветитьLearning a lot! Thank you for your informative videos!
ОтветитьGreat solution to daily programming problems. Thanks! :)
Ответить😅 He is talented and he is smart but with this hoodie he is just making me melt 🫠🥰 ✨
Ответитьthanks!
Ответитьwho needs opaque types in a normal app? just asking cause i have no idea how this is useful other than it being food for thought;
ОтветитьI really wish TS would make opaque types a 1st class feature (like Flow does). Workarounds like this are okay, but not the prettiest.
ОтветитьBrilliant! ☘️
But also - you might need to fire the Script Supervisor on your film set - where did your Fila jumper disappear to at the end of the video? 😜
Thanks Bas 👍
Amazing, I thought the issue was that now we can pass negative number, NaN, Infinity to those number types
ОтветитьQuite informative. Well explained too. Thanks a lot.
Ответить