mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #14368 from cnjsstong/patch-1
Add missing `noCache` function for restify
This commit is contained in:
Vendored
+1
@@ -300,6 +300,7 @@ interface HandlerTiming {
|
||||
interface Response extends http.ServerResponse {
|
||||
header: (key: string, value?: any) => any;
|
||||
cache: (type?: any, options?: Object) => any;
|
||||
noCache: () => any;
|
||||
status: (code: number) => any;
|
||||
send: (status?: any, body?: any, headers?: { [header: string]: string }) => any;
|
||||
json: (status?: any, body?: any, headers?: { [header: string]: string }) => any;
|
||||
|
||||
Reference in New Issue
Block a user