diff --git a/types/compression-webpack-plugin/index.d.ts b/types/compression-webpack-plugin/index.d.ts index 5d72f1fca8..2c1b67ddff 100644 --- a/types/compression-webpack-plugin/index.d.ts +++ b/types/compression-webpack-plugin/index.d.ts @@ -19,7 +19,7 @@ declare namespace CompressionPlugin { type Algorithm = (source: string, options: O, callback: AlgorithmCallback) => void; // NOTE: These are the async compression algorithms on the zlib object. - type ZlibAlgorithm = 'deflate' | 'deflateRaw' | 'gzip'; + type ZlibAlgorithm = 'deflate' | 'deflateRaw' | 'gzip' | 'brotliCompress'; type Pattern = string | RegExp | ReadonlyArray | ReadonlyArray; interface BaseOptions {