Type alias Extensible<Deps>

Extensible<Deps>: Deps & {
    and: (<NextDeps>(next) => Extensible<Deps & NextDeps>);
    done: (<FinalDeps>(fin) => FinalDeps);
}

Extensible defines an interface that allows for the mutation of a "resource bag" and a final presentation of that bag. This allows a programmer to build up a collection of resources and subsequently mask some of those resources, keeping the final interface type small.

See Weenie for more documentation about use.

Type Parameters

  • Deps = Obj

Type declaration

Generated using TypeDoc