mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +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). |
||
|---|---|---|
| .. | ||
| v4 | ||
| index.d.ts | ||
| restify-tests.ts | ||
| tsconfig.json | ||
| tslint.json | ||