UNPKG

drupal-twig-extensions

Version:

JavaScript implementation of Drupal’s Twig extensions

13 lines (12 loc) 556 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _newTwingFunction = _interopRequireDefault(require("./newTwingFunction.cjs")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } const newPassThroughFunction = (functionName, options = {}, acceptedArguments = []) => (0, _newTwingFunction.default)(functionName, async function (value) { return value; }, options, acceptedArguments); var _default = newPassThroughFunction; exports.default = _default;