add type definition for option gzip (#38943)

This commit is contained in:
jochemmm 2019-10-08 01:43:55 +02:00 committed by Armando Aguirre
parent ca5aab8759
commit 6f83edcabb

View File

@ -58,6 +58,12 @@ export interface MiddlewaresOptions {
*/
bodyParser?: boolean;
/**
* Disable compression
* @default false
*/
noGzip?: boolean;
/**
* Disable CORS
* @default false