From e1bb925d998975715790079f23b30926dce6ca75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20=C5=81aziuk?= Date: Tue, 5 Dec 2017 08:26:27 +0100 Subject: [PATCH] old names --- types/koa-send/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/koa-send/index.d.ts b/types/koa-send/index.d.ts index e1cdfce1ef..5893e621b6 100644 --- a/types/koa-send/index.d.ts +++ b/types/koa-send/index.d.ts @@ -14,13 +14,13 @@ import { } from "fs"; -declare function send(ctx: Context, path: string, opts?: send.IOpts): Promise; +declare function send(ctx: Context, path: string, opts?: send.ISendOptions): Promise; declare namespace send { - interface IOpts { + interface ISendOptions { /** Browser cache max-age in milliseconds. (defaults to 0) */ maxage?: number; - maxAge?: IOpts["maxage"]; + maxAge?: ISendOptions["maxage"]; /** Tell the browser the resource is immutable and can be cached indefinitely. (defaults to false) */ immutable?: boolean; /** Allow transfer of hidden files. (defaults to false) */