From 0d85c9ef77360fc1e56450039dc8436bd2390c69 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 10 Dec 2021 13:48:52 +0000 Subject: [PATCH] fix(schema): type `render.compressor` (#2302) --- packages/schema/src/config/render.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/schema/src/config/render.ts b/packages/schema/src/config/render.ts index 32f74e66c9..b44f7c2f31 100644 --- a/packages/schema/src/config/render.ts +++ b/packages/schema/src/config/render.ts @@ -99,6 +99,8 @@ export default { * for [compression middleware](https://www.npmjs.com/package/compression), or * use your own middleware by passing it in directly - for example, * `otherComp({ myOptions: 'example' })`. + * + * @type {boolean | object | Function} */ compressor: { threshold: 0