mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Removed module declaration for express-formidable.
This commit is contained in:
Vendored
+14
-16
@@ -3,21 +3,19 @@
|
||||
// Definitions by: Torkild Dyvik Olsen <https://github.com/tdolsen>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module "express-formidable" {
|
||||
import { RequestHandler } from "express";
|
||||
import { RequestHandler } from "express";
|
||||
|
||||
interface ExpressFormidableOptions {
|
||||
encoding?: string;
|
||||
uploadDir?: string;
|
||||
keepExtensions?: boolean;
|
||||
type?: "multipart" | "urlencoded";
|
||||
maxFieldsSize?: number;
|
||||
maxFields?: number;
|
||||
hash?: boolean | "sha1" | "md5";
|
||||
multiples?: boolean;
|
||||
}
|
||||
|
||||
function ExpressFormidable(options?: ExpressFormidableOptions): RequestHandler;
|
||||
|
||||
export = ExpressFormidable;
|
||||
interface ExpressFormidableOptions {
|
||||
encoding?: string;
|
||||
uploadDir?: string;
|
||||
keepExtensions?: boolean;
|
||||
type?: "multipart" | "urlencoded";
|
||||
maxFieldsSize?: number;
|
||||
maxFields?: number;
|
||||
hash?: boolean | "sha1" | "md5";
|
||||
multiples?: boolean;
|
||||
}
|
||||
|
||||
declare function ExpressFormidable(options?: ExpressFormidableOptions): RequestHandler;
|
||||
|
||||
export = ExpressFormidable;
|
||||
|
||||
Reference in New Issue
Block a user