Файловый менеджер - Редактировать - /home/clickysoft/public_html/securebeans.clickysoft.net/node_modules/laravel-mix/src/components/FunctionalComponent.js
Назад
/** @typedef {import('../../types/component').ClassComponent} ClassComponent */ /** @typedef {import('../../types/component').FunctionalComponent} FunctionalComponent */ /** * @param {string[]} names * @param {FunctionalComponent} component * @returns {ClassComponent} */ exports.createFunctionalComponent = function createFunctionalComponent(names, component) { return class { /** @type {any[]} */ args = []; name() { return names; } /** * * @param {...any} args */ register(...args) { this.args = args; } /** * * @param {import('webpack').Configuration} config */ webpackConfig(config) { component.call(this, config, ...this.args); } }; };
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка