mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-15 12:09:40 +08:00
Add type object to compression property. It is not only boolean.
This commit is contained in:
@@ -55,7 +55,7 @@ export interface ServerOptions {
|
||||
* Default value: { minBytes: 1024 }.
|
||||
* Defines server handling of content encoding requests. If false, response content encoding is disabled and no compression is performed by the server.
|
||||
*/
|
||||
compression?: boolean;
|
||||
compression?: boolean | object;
|
||||
|
||||
/**
|
||||
* Default value: '1024'.
|
||||
|
||||
Reference in New Issue
Block a user