mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[compression-webpack-plugin]: Add 'brotliCompress' to the list of supported algorithms (#36840)
* Add 'brotliCompress' to the list of supported algorithms. * Update version to 2.0.1. * Remove patch version. * Reset the version back down to 2.0.
This commit is contained in:
parent
4477702e07
commit
e67dc39bf6
2
types/compression-webpack-plugin/index.d.ts
vendored
2
types/compression-webpack-plugin/index.d.ts
vendored
@ -19,7 +19,7 @@ declare namespace CompressionPlugin {
|
||||
type Algorithm<O> = (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<RegExp> | ReadonlyArray<string>;
|
||||
|
||||
interface BaseOptions {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user