diff --git a/declarations/WebpackOptions.d.ts b/declarations/WebpackOptions.d.ts index 372d2b2f6cd..d17488e409e 100644 --- a/declarations/WebpackOptions.d.ts +++ b/declarations/WebpackOptions.d.ts @@ -1118,7 +1118,7 @@ export interface OutputOptions { /** * The filename of the Hot Update Chunks. They are inside the output.path directory. */ - hotUpdateChunkFilename?: string | Function; + hotUpdateChunkFilename?: string; /** * The JSONP function used by webpack for async loading of hot update chunks. */ diff --git a/schemas/WebpackOptions.json b/schemas/WebpackOptions.json index 1fd61706d84..6154e778ac7 100644 --- a/schemas/WebpackOptions.json +++ b/schemas/WebpackOptions.json @@ -940,16 +940,8 @@ }, "hotUpdateChunkFilename": { "description": "The filename of the Hot Update Chunks. They are inside the output.path directory.", - "anyOf": [ - { - "type": "string", - "absolutePath": false - }, - { - "instanceof": "Function", - "tsType": "Function" - } - ] + "type": "string", + "absolutePath": false }, "hotUpdateFunction": { "description": "The JSONP function used by webpack for async loading of hot update chunks.",