Framework updates
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
10
node_modules/webpack/lib/MultiStats.js
generated
vendored
10
node_modules/webpack/lib/MultiStats.js
generated
vendored
@@ -8,6 +8,7 @@
|
||||
const identifierUtils = require("./util/identifier");
|
||||
|
||||
/** @typedef {import("../declarations/WebpackOptions").StatsOptions} StatsOptions */
|
||||
/** @typedef {import("../declarations/WebpackOptions").StatsValue} StatsValue */
|
||||
/** @typedef {import("./Compilation").CreateStatsOptionsContext} CreateStatsOptionsContext */
|
||||
/** @typedef {import("./Compilation").NormalizedStatsOptions} NormalizedStatsOptions */
|
||||
/** @typedef {import("./Stats")} Stats */
|
||||
@@ -25,8 +26,7 @@ const indent = (str, prefix) => {
|
||||
return prefix + rem;
|
||||
};
|
||||
|
||||
/** @typedef {undefined | string | boolean | StatsOptions} ChildrenStatsOptions */
|
||||
/** @typedef {Omit<StatsOptions, "children"> & { children?: ChildrenStatsOptions | ChildrenStatsOptions[] }} MultiStatsOptions */
|
||||
/** @typedef {StatsOptions} MultiStatsOptions */
|
||||
/** @typedef {{ version: boolean, hash: boolean, errorsCount: boolean, warningsCount: boolean, errors: boolean, warnings: boolean, children: NormalizedStatsOptions[] }} ChildOptions */
|
||||
|
||||
class MultiStats {
|
||||
@@ -56,7 +56,7 @@ class MultiStats {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {undefined | string | boolean | MultiStatsOptions} options stats options
|
||||
* @param {undefined | StatsValue} options stats options
|
||||
* @param {CreateStatsOptionsContext} context context
|
||||
* @returns {ChildOptions} context context
|
||||
*/
|
||||
@@ -109,7 +109,7 @@ class MultiStats {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {(string | boolean | MultiStatsOptions)=} options stats options
|
||||
* @param {StatsValue=} options stats options
|
||||
* @returns {StatsCompilation} json output
|
||||
*/
|
||||
toJson(options) {
|
||||
@@ -184,7 +184,7 @@ class MultiStats {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {(string | boolean | MultiStatsOptions)=} options stats options
|
||||
* @param {StatsValue=} options stats options
|
||||
* @returns {string} string output
|
||||
*/
|
||||
toString(options) {
|
||||
|
||||
Reference in New Issue
Block a user