Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ExistingProvider<T>

Interface defining an Existing (aliased) type provider.

For example:

const loggerAliasProvider = {
  provide: 'AliasedLoggerService',
  useExisting: LoggerService
};
see

Use existing

publicapi

Type parameters

  • T = any

Hierarchy

  • ExistingProvider

Index

Properties

Properties

provide

provide: string | symbol | Type<any> | Abstract<any> | Function

Injection token

useExisting

useExisting: any

Provider to be aliased by the Injection token.

Generated using TypeDoc