From e3ebe62f617c68deae6b50f4f982d7c62b542a9b Mon Sep 17 00:00:00 2001 From: Tong Shen Date: Tue, 31 Jan 2017 18:30:11 -0500 Subject: [PATCH] Add missing `noCache` function for restify --- restify/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/restify/index.d.ts b/restify/index.d.ts index f53aa0eba9..72b8ab6646 100644 --- a/restify/index.d.ts +++ b/restify/index.d.ts @@ -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;