ExistingProvider

Stable

Interface

What it does

Configures the Injector to return a value of another useExisting token.

How to use

const provider: ExistingProvider = {provide: 'someToken', useExisting: 'someOtherToken'};

Interface Overview

interface ExistingProvider {
provide : any
useExisting : any
multi : boolean

}

Interface Description

Interface Details

exported from @angular/core/index, defined in @angular/core/src/di/provider.ts