Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/lambda_ioc/lambda-ioc/deno/combinators.ts>cc2ic

Super type safe dependency injection 💉 for TypeScript (inspired by Diddly)
Latest
function cc2ic
import { cc2ic } from "https://deno.land/x/lambda_ioc@1.0.0/lambda-ioc/deno/combinators.ts";

Returns

<CC extends new (...args: any[]) => I>(cc: CC) => AsInterfaceCtor<I, CC>