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

override

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

A utility for creating new Overrides. Using this function (without explicit type params) ensures that b is actually assignable to a.

function override<A, B extends A>(a: InjectKey<A>, b: InjectKey<B>): Override<A, B>;
§
override<A, B extends A>(a: InjectKey<A>, b: InjectKey<B>): Override<A, B>
[src]

§Type Parameters

§
B extends A
[src]

§Return Type