| | |
| | | /** @typedef {import("./util/fs").OutputFileSystem} OutputFileSystem */ |
| | | |
| | | /** |
| | | * Returns function. |
| | | * @template {EXPECTED_FUNCTION} T |
| | | * @param {() => T} factory factory function |
| | | * @returns {T} function |
| | |
| | | const fac = memoize(factory); |
| | | const f = /** @type {unknown} */ ( |
| | | /** |
| | | * Handles the callback logic for this hook. |
| | | * @param {...EXPECTED_ANY} args args |
| | | * @returns {T} result |
| | | */ |
| | |
| | | }; |
| | | |
| | | /** |
| | | * Merges the provided values into a single result. |
| | | * @template A |
| | | * @template B |
| | | * @param {A} obj input a |
| | |
| | | return require("./webpack"); |
| | | }, |
| | | /** |
| | | * Returns validate fn. |
| | | * @returns {(configuration: Configuration | MultiConfiguration) => void} validate fn |
| | | */ |
| | | get validate() { |
| | |
| | | |
| | | const getRealValidate = memoize( |
| | | /** |
| | | * Handles the callback logic for this hook. |
| | | * @returns {(configuration: Configuration | MultiConfiguration) => void} validate fn |
| | | */ |
| | | () => { |