diff --git a/tools/public_api_guard/public_api_spec.ts b/tools/public_api_guard/public_api_spec.ts index 8a86c9937a..264caa6b1c 100644 --- a/tools/public_api_guard/public_api_spec.ts +++ b/tools/public_api_guard/public_api_spec.ts @@ -207,8 +207,6 @@ const CORE = [ 'DefaultIterableDiffer.length:number', 'DefaultIterableDiffer.onDestroy():any', 'DefaultIterableDiffer.toString():string', - 'DependencyMetadata', - 'DependencyMetadata.token:any', 'DirectiveDecorator', 'DirectiveMetadata', 'DirectiveMetadata.constructor({selector,inputs,outputs,properties,events,host,providers,exportAs,queries}:{selector?:string, inputs?:string[], outputs?:string[], properties?:string[], events?:string[], host?:{[key:string]:string}, providers?:any[], exportAs?:string, queries?:{[key:string]:any}})', @@ -405,11 +403,6 @@ const CORE = [ 'QueryMetadata.toString():string', 'QueryMetadata.varBindings:string[]', 'QueryMetadataFactory', - 'ReflectionInfo', - 'ReflectionInfo.constructor(annotations:any[], parameters:any[][], factory:Function, interfaces:any[], propMetadata:{[key:string]:any[]})', - 'ReflectiveDependency', - 'ReflectiveDependency.constructor(key:ReflectiveKey, optional:boolean, lowerBoundVisibility:any, upperBoundVisibility:any, properties:any[])', - 'ReflectiveDependency.fromKey(key:ReflectiveKey):ReflectiveDependency', 'ReflectiveInjector', 'ReflectiveInjector.createChildFromResolved(providers:ResolvedReflectiveProvider[]):ReflectiveInjector', 'ReflectiveInjector.debugContext():any', @@ -427,28 +420,6 @@ const CORE = [ 'ReflectiveKey.displayName:string', 'ReflectiveKey.get(token:Object):ReflectiveKey', 'ReflectiveKey.numberOfKeys:number', - 'Reflector', - 'Reflector.annotations(typeOrFunc:any):any[]', - 'Reflector.constructor(reflectionCapabilities:PlatformReflectionCapabilities)', - 'Reflector.factory(type:Type):Function', - 'Reflector.getter(name:string):GetterFn', - 'Reflector.hasLifecycleHook(type:any, lcInterface:any, lcProperty:string):boolean', - 'Reflector.importUri(type:any):string', - 'Reflector.interfaces(type:any):any[]', - 'Reflector.isReflectionEnabled():boolean', - 'Reflector.listUnusedKeys():any[]', - 'Reflector.method(name:string):MethodFn', - 'Reflector.parameters(typeOrFunc:any):any[][]', - 'Reflector.propMetadata(typeOrFunc:any):{[key:string]:any[]}', - 'Reflector.reflectionCapabilities:PlatformReflectionCapabilities', - 'Reflector.registerFunction(func:Function, funcInfo:ReflectionInfo):void', - 'Reflector.registerGetters(getters:{[key:string]:GetterFn}):void', - 'Reflector.registerMethods(methods:{[key:string]:MethodFn}):void', - 'Reflector.registerSetters(setters:{[key:string]:SetterFn}):void', - 'Reflector.registerType(type:Type, typeInfo:ReflectionInfo):void', - 'Reflector.setter(name:string):SetterFn', - 'Reflector.trackUsage():void', - 'Reflector.updateCapabilities(caps:PlatformReflectionCapabilities):any', 'RenderComponentType', 'RenderComponentType.constructor(id:string, templateUrl:string, slotCount:number, encapsulation:ViewEncapsulation, styles:Array)', 'Renderer', @@ -536,7 +507,6 @@ const CORE = [ 'var Output:OutputMetadataFactory', 'var Pipe:PipeMetadataFactory', 'var Query:QueryMetadataFactory', - 'var reflector:any', 'var Self:SelfMetadataFactory', 'var SkipSelf:SkipSelfMetadataFactory', 'var Type:any',