Closed dnys1 closed 1 year ago
Since methods like util.unauthorized and util.error do not return control to the caller, it could be helpful to encode this in the type system by marking their returns as never instead of void.
util.unauthorized
util.error
never
void
Updated in latest npm package
Since methods like
util.unauthorized
andutil.error
do not return control to the caller, it could be helpful to encode this in the type system by marking their returns asnever
instead ofvoid
.