mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-30 13:37:35 +00:00
old names
This commit is contained in:
parent
a1ffa9ffba
commit
e1bb925d99
6
types/koa-send/index.d.ts
vendored
6
types/koa-send/index.d.ts
vendored
@ -14,13 +14,13 @@ import {
|
||||
} from "fs";
|
||||
|
||||
|
||||
declare function send(ctx: Context, path: string, opts?: send.IOpts): Promise<string>;
|
||||
declare function send(ctx: Context, path: string, opts?: send.ISendOptions): Promise<string>;
|
||||
|
||||
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) */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user