add type definition for option gzip (#38943)

This commit is contained in:
jochemmm
2019-10-07 16:43:55 -07:00
committed by Armando Aguirre
parent ca5aab8759
commit 6f83edcabb
+6
View File
@@ -58,6 +58,12 @@ export interface MiddlewaresOptions {
*/
bodyParser?: boolean;
/**
* Disable compression
* @default false
*/
noGzip?: boolean;
/**
* Disable CORS
* @default false