-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
One of the solutions of Exercise 12 of the TypeScript beginner's course gives me this error on Typescript playground #62
Comments
Hi, @techemmy! I see that is currently solution 2 to problem 12-catch-blocks. Is that the only solution that gives you that error? I believe the error is happening because the function should be returning a value from inside the Do you have that rule enabled by chance? |
I don't remember if I had the rule enabled, but it was the only solution giving me this error. |
Hi! Would it make sense to encourage
P.S. The underlying exercice could have been renamed in between (since this issue has been opened in late 2022),
|
I completely agree! I had just started getting familiar with Typescript when I created this issue. So I didn't understand as much. |
The 3rd solution gives me the error on the TypeScript playground as well.
The text was updated successfully, but these errors were encountered: