Typescript infers void return type with short body arrow function but not regular arrow function
Typescript infers void return type with short body arrow function but not regular arrow function
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!
(stackoverflow.com/users/17422582/dbzx10299)dbzx10299
(stackoverflow.com/users/2887218/jcalz)jcalz
(stackoverflow.com/users/12299000/kaya3-support-the-strike)kaya3 - support the strike
A special thanks goes out to the (https://stackoverflow.com/questions/76879963/typescript-infers-void-return-type-with-short-body-arrow-function-but-not-regula)Stackexchange community
I wish you all a wonderful day! Stay safe :)
typescript-generics typescript