mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 06:17:04 +00:00
Deprecated res.status
``res.send(status, body)`` is deprecated. Use ``res.status(status).send(body)`` instead
This commit is contained in:
-1
@@ -475,7 +475,6 @@ interface MediaType {
|
||||
}
|
||||
|
||||
interface Send {
|
||||
(status: number, body?: any): Response;
|
||||
(body?: any): Response;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user