You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, you can close this one if you want. Checking action.type in assertNever() is not a solution, because it doesn't work for unions. A built in exhaustiveness checking in switch and future match, without manual assertions, would be an awesome feature in my opinion.
TypeScript Version: 2.5.2
Code
Expected behavior:
action
insidedefault
block should have typenever
Actual behavior:
action
insidedefault
block has typeAction
Similar fixed issue: #12771
Playground: https://goo.gl/rs6TgW
The text was updated successfully, but these errors were encountered: