diff --git a/types/multer-s3/index.d.ts b/types/multer-s3/index.d.ts index a03e6ae36e..570dc3c85e 100644 --- a/types/multer-s3/index.d.ts +++ b/types/multer-s3/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/badunk/multer-s3 // Definitions by: KIM Jaesuck a.k.a. gim tcaesvk // Gal Talmor +// Matt Terski // Definitions: https://github.com/DefinitelyType/DefinitelyTyped // TypeScript Version: 2.2 @@ -16,6 +17,7 @@ interface Options { contentType?(req: Express.Request, file: Express.Multer.File, callback: (error: any, mime?: string, stream?: NodeJS.ReadableStream) => void): void; metadata?(req: Express.Request, file: Express.Multer.File, callback: (error: any, metadata?: any) => void): void; cacheControl?: ((req: Express.Request, file: Express.Multer.File, callback: (error: any, cacheControl?: string) => void) => void) | string; + serverSideEncryption?: ((req: Express.Request, file: Express.Multer.File, callback: (error: any, serverSideEncryption?: string) => void) => void) | string; } declare global {