Skip to main content
Version: 2.x

Injectable type

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

Injectable type

A class that declares constructor injected dependencies through a static "inject" field array of keys.

Signature:

export declare type Injectable<T = &#123;&#125;> = Constructable<T> & {
inject?: Key[];
&#125;;

References: Key