Closed EvHaus closed 1 month ago
Hi, Elysia 1.1 has renamed Set-Cookie
to set-cookie
to force case-sensitivity consistency for HTTP headers and auto-completion
See #99 https://github.com/elysiajs/elysia/blob/8173d905944b8b305f8989985abe7760af681de9/src/types.ts#L1393,
What version of Elysia.JS is running?
1.1.3
What platform is your computer?
Linux 5.15.153.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
What is the expected behavior?
No error, and 2 separate
Set-Cookie
headers are set on the response.What do you see instead?
2 separate headers are set correctly, but TypeScript errors with:
Additional information
No response