Open vlsi opened 1 month ago
Is your feature request related to a problem? Please describe.
res.writeHead(200, "Ok", undefined.unsafeCast<OutgoingHttpHeaders>())
Currently, there's no way to omit headers parameter as Kotlin compiler is confused between OutgoingHttpHeaders and ReadOnlyArray<OutgoingHttpHeader> overloads.
headers
OutgoingHttpHeaders
ReadOnlyArray<OutgoingHttpHeader>
Describe the solution you'd like
res.writeHead(200, "Ok")
Additional context
Is your feature request related to a problem? Please describe.
Currently, there's no way to omit
headers
parameter as Kotlin compiler is confused betweenOutgoingHttpHeaders
andReadOnlyArray<OutgoingHttpHeader>
overloads.Describe the solution you'd like
Additional context