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

Override

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

Specifies that overrider should be used when overridden is requested from this injector.

These should be created using override() for type-safety. Otherwise, TS will allow the overridden value to be a subtype of the overrider value, which is incorrect.

type Override<A, B extends A = A> = [InjectKey<A>, InjectKey<B>];

§Type Parameters

§
B extends A = A
[src]

§Type