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

Injector

import type { Injector } from "https://raw.githubusercontent.com/drmercer/minimal-injector/master/injector.ts";

A function that takes an InjectKey and returns the value that key is mapped to, constructing the value if necessary.

type Injector = <T>(key: InjectKey<T>) => T;

§Type

§
<T>(key: InjectKey<T>) => T
[src]