UNPKG

@tdi2/di-core

Version:

TypeScript Dependency Injection 2 - Core DI framework

18 lines (17 loc) 672 B
var __defProp = Object.defineProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); // tools/functional-di-enhanced-transformer/__tests__/__fixtures__/inline-mixed-deps.basic.input.tsx import React from "react"; function InlineMixedDeps(props) { const { config, services: { logger, user, cache }, api } = props; api.getData(); logger.log(""); user.processData([]); cache?.get("foo"); return /* @__PURE__ */ React.createElement("div", null, "Mixed dependencies component", config); } __name(InlineMixedDeps, "InlineMixedDeps"); export { InlineMixedDeps }; //# sourceMappingURL=inline-mixed-deps.basic.input.js.map