v0.6.3 #223
diego-aquino
announced in
Announcements
v0.6.3
#223
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
v0.6.3 is here! 🎉
Fixes
HttpHeaders
andHttpSearchParams
to be strict when noheaders
orsearchParams
are declared in a request or response schema. Now, trying to use any properties will show a type error instead of only returningnever
. This provides more type safety to the headers and search params methods:get()
,getAll()
,set()
,append()
,has()
, anddelete()
.Credits
Huge thanks to @diego-aquino for helping!
Full Changelog:
v0.6.2...v0.6.3
HttpHeaders
andHttpSearchParams
schemas (Show type error when trying to access properties ofHttpHeaders
orHttpSearchParams
with empty schemas #211) by @diego-aquino in fix(#zimic): strict emptyHttpHeaders
andHttpSearchParams
schemas (#211) #215v0.6.3
by @diego-aquino in chore(release): v0.6.3 #222This discussion was created from the release v0.6.3.
Beta Was this translation helpful? Give feedback.
All reactions