parent
7f2037f0b6
commit
dca50deae4
@ -13,8 +13,6 @@ import {cyclicDependencyError, instantiationError, noProviderError, outOfBoundsE
|
|||||||
import {ReflectiveKey} from './reflective_key';
|
import {ReflectiveKey} from './reflective_key';
|
||||||
import {ReflectiveDependency, ResolvedReflectiveFactory, ResolvedReflectiveProvider, resolveReflectiveProviders} from './reflective_provider';
|
import {ReflectiveDependency, ResolvedReflectiveFactory, ResolvedReflectiveProvider, resolveReflectiveProviders} from './reflective_provider';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Threshold for the dynamic version
|
// Threshold for the dynamic version
|
||||||
const UNDEFINED = new Object();
|
const UNDEFINED = new Object();
|
||||||
|
|
||||||
@ -51,7 +49,7 @@ const UNDEFINED = new Object();
|
|||||||
* Notice, we don't use the `new` operator because we explicitly want to have the `Injector`
|
* Notice, we don't use the `new` operator because we explicitly want to have the `Injector`
|
||||||
* resolve all of the object's dependencies automatically.
|
* resolve all of the object's dependencies automatically.
|
||||||
*
|
*
|
||||||
* @stable
|
* @deprecated from v5 - slow and brings in a lot of code, Use `Injector.create` instead.
|
||||||
*/
|
*/
|
||||||
export abstract class ReflectiveInjector implements Injector {
|
export abstract class ReflectiveInjector implements Injector {
|
||||||
/**
|
/**
|
||||||
|
2
tools/public_api_guard/core/core.d.ts
vendored
2
tools/public_api_guard/core/core.d.ts
vendored
@ -759,7 +759,7 @@ export declare class QueryList<T> {
|
|||||||
toString(): string;
|
toString(): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @stable */
|
/** @deprecated */
|
||||||
export declare abstract class ReflectiveInjector implements Injector {
|
export declare abstract class ReflectiveInjector implements Injector {
|
||||||
readonly abstract parent: Injector | null;
|
readonly abstract parent: Injector | null;
|
||||||
abstract createChildFromResolved(providers: ResolvedReflectiveProvider[]): ReflectiveInjector;
|
abstract createChildFromResolved(providers: ResolvedReflectiveProvider[]): ReflectiveInjector;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user