diff --git a/types/html-webpack-plugin/html-webpack-plugin-tests.ts b/types/html-webpack-plugin/html-webpack-plugin-tests.ts
index a84d19bea5..7a1e5f20bc 100644
--- a/types/html-webpack-plugin/html-webpack-plugin-tests.ts
+++ b/types/html-webpack-plugin/html-webpack-plugin-tests.ts
@@ -19,6 +19,9 @@ const optionsArray: HtmlWebpackPlugin.Options[] = [
{
arbitrary: 'data',
},
+ {
+ chunksSortMode: 'manual',
+ }
];
const plugins: HtmlWebpackPlugin[] = optionsArray.map(options => new HtmlWebpackPlugin(options));
diff --git a/types/html-webpack-plugin/index.d.ts b/types/html-webpack-plugin/index.d.ts
index b08a69faa5..1ae15efb71 100644
--- a/types/html-webpack-plugin/index.d.ts
+++ b/types/html-webpack-plugin/index.d.ts
@@ -1,4 +1,4 @@
-// Type definitions for html-webpack-plugin 2.28
+// Type definitions for html-webpack-plugin 2.30
// Project: https://github.com/ampedandwired/html-webpack-plugin
// Definitions by: Simon Hartcher , Benjamin Lim
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -37,7 +37,7 @@ declare namespace HtmlWebpackPlugin {
* Allows to control how chunks should be sorted before they are included to the html.
* Allowed values: `'none' | 'auto' | 'dependency' | {function}` - default: `'auto'`
*/
- chunksSortMode?: 'none' | 'auto' | 'dependency' | ChunkComparator;
+ chunksSortMode?: 'none' | 'auto' | 'dependency' | 'manual' | ChunkComparator;
/** Allows you to add only some chunks (e.g. only the unit-test chunk) */
chunks?: string[];
/** Allows you to skip some chunks (e.g. don't add the unit-test chunk) */