feat(core): Create StaticInjector which does not depend on Reflect polyfill.
This commit is contained in:

committed by
Victor Berchet

parent
f69561b2de
commit
d9d00bd9b5
4
tools/public_api_guard/core/core.d.ts
vendored
4
tools/public_api_guard/core/core.d.ts
vendored
@ -491,6 +491,7 @@ export declare abstract class Injector {
|
||||
/** @deprecated */ abstract get(token: any, notFoundValue?: any): any;
|
||||
static NULL: Injector;
|
||||
static THROW_IF_NOT_FOUND: Object;
|
||||
static create(providers: StaticProvider[], parent?: Injector): Injector;
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
@ -951,6 +952,9 @@ export interface SkipSelfDecorator {
|
||||
/** @deprecated */
|
||||
export declare function state(name: string, styles: AnimationStyleMetadata): AnimationStateMetadata;
|
||||
|
||||
/** @stable */
|
||||
export declare type StaticProvider = ValueProvider | ExistingProvider | StaticClassProvider | ConstructorProvider | FactoryProvider | any[];
|
||||
|
||||
/** @deprecated */
|
||||
export declare function style(tokens: {
|
||||
[key: string]: string | number;
|
||||
|
Reference in New Issue
Block a user