mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
move preservePath property to root options (#38486)
This commit is contained in:
committed by
Ben Lichtman
parent
95fa61dc89
commit
fa036bbb48
Vendored
+2
-2
@@ -43,9 +43,9 @@ declare namespace multer {
|
||||
parts?: number;
|
||||
/** For multipart forms, the max number of header key=> value pairs to parse Default: 2000(same as node's http). */
|
||||
headerPairs?: number;
|
||||
/** Keep the full path of files instead of just the base name (Default: false) */
|
||||
preservePath?: boolean;
|
||||
};
|
||||
/** Keep the full path of files instead of just the base name (Default: false) */
|
||||
preservePath?: boolean;
|
||||
/** A function to control which files to upload and which to skip. */
|
||||
fileFilter?(req: Express.Request, file: Express.Multer.File, callback: (error: Error | null, acceptFile: boolean) => void): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user