mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-09 09:01:16 +08: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).