Skip to content

Instantly share code, notes, and snippets.

@alexzuza
Created March 19, 2018 20:14
Show Gist options
  • Save alexzuza/051f01bc659293716b35bbcf45282649 to your computer and use it in GitHub Desktop.
Save alexzuza/051f01bc659293716b35bbcf45282649 to your computer and use it in GitHub Desktop.
DI injector element definition
export interface ElementDef {
...
/**
* visible public providers for DI in the view,
* as see from this element. This does not include private providers.
*/
publicProviders: {[tokenKey: string]: NodeDef}|null;
/**
* same as visiblePublicProviders, but also includes private providers
* that are located on this element.
*/
allProviders: {[tokenKey: string]: NodeDef}|null;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment