Closed chmac closed 5 years ago
This matches the types here https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e9e404ac8e23dcafd02f57db02915d848c4454b3/types/node/http.d.ts#L63
This is the simplest change that allows a header to be undefined or an array of strings. I recommend merging #192 instead of this one though...
undefined
Closed in favour of other PR
This matches the types here https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e9e404ac8e23dcafd02f57db02915d848c4454b3/types/node/http.d.ts#L63
This is the simplest change that allows a header to be
undefined
or an array of strings. I recommend merging #192 instead of this one though...