mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-05-20 19:24:34 +00:00
The `writeHead` method gets passed through to the native `response.writeHead`. The `Response` interface extends `http.ServerResponse` which defined the `writeHead` method with different arguments. For maintainability reasons, we should just use the inherited method. Also, the current definition makes this method useless (`writeHead` expects at lease one argument).