Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DI.Constructor

import type { DI } from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/mod.ts"; 

const { Constructor } = DI;

Infer the arguments of constructor for dependency injection.

type Constructor<T = any> = new (...args: any[]) => T;

§Type Parameters

§
T = any
[src]

§Type

§
new (...args: any[]) => T
[src]