mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
old names
This commit is contained in:
Vendored
+3
-3
@@ -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) */
|
||||
|
||||
Reference in New Issue
Block a user