ensure all cases are handled
By removing the default case and undefined from the return type, the type system can ensure that all cases are handled.
Showing
想要评论请 注册 或 登录
By removing the default case and undefined from the return type, the type system can ensure that all cases are handled.