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
This originally existed on an unreleased branch in 77bfb6f but had to be removed as a TypeScript warning appeared on the calling side of response.cookie(...flagBag.cookie):
A spread argument must either have a tuple type or be passed to a rest parameter.
The code works, but I could not figure out the correct type.
Reintroducing this would allow developers to use response.cookie(...flagBag.cookie) instead of response.cookie(...flagBag.cookie.args).
The text was updated successfully, but these errors were encountered:
dferber90
changed the title
Reenable concise syntax of response.cookie(...flagBag.cookie)
Enable concise syntax of response.cookie(...flagBag.cookie)Nov 22, 2021
This originally existed on an unreleased branch in 77bfb6f but had to be removed as a TypeScript warning appeared on the calling side of
response.cookie(...flagBag.cookie)
:The code works, but I could not figure out the correct type.
Reintroducing this would allow developers to use
response.cookie(...flagBag.cookie)
instead ofresponse.cookie(...flagBag.cookie.args)
.The text was updated successfully, but these errors were encountered: