Skip to main content
Version: 2.x

Resolver interface

@microsoft/fast-element/di.js > Resolver

Resolver interface

Internally, the DI system maps "keys" to "resolvers". A resolver controls how a dependency is resolved. Resolvers for transient, singleton, etc. are provided out of the box, but you can also implement Resolver yourself and supply custom logic for resolution.

Signature:

export interface Resolver<K = any> extends ResolverLike<Container, K> 

Extends: ResolverLike<Container, K>