iso-error-web@2.4.1
·
104 commits
to main
since this release
Patch Changes
-
42df780: Relax the type of
HttpStatusTexttoRecord<number, string>.
This allows user to use it by passing in annumber:// `Response['status']: number` const response: Response = await fetch(...) const status = HttpStatusText[response.status]