UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

12 lines (11 loc) • 319 B
//#region src/hooks/module-loader.ts function resolveFunctionModuleExport(e) { const t = e.exportName?.trim(); const n = t ? [t] : e.fallbackExportNames ?? ["default"]; for (const t of n) { const n = e.mod[t]; if (typeof n === "function") return n; } } //#endregion export { resolveFunctionModuleExport as t };