test(public api): sort symbols case insensitive
This commit is contained in:
parent
ac1156739d
commit
5cd490eba2
|
@ -10,11 +10,12 @@ import {publicApi} from 'ts-api-guardian';
|
||||||
//
|
//
|
||||||
// =================================================================================================
|
// =================================================================================================
|
||||||
// =================================================================================================
|
// =================================================================================================
|
||||||
|
/* clang-format off */
|
||||||
const CORE = [
|
const CORE = [
|
||||||
'AbstractProviderError',
|
'AbstractProviderError',
|
||||||
'AbstractProviderError.addKey(injector:ReflectiveInjector, key:ReflectiveKey):void',
|
'AbstractProviderError.addKey(injector:ReflectiveInjector, key:ReflectiveKey):void',
|
||||||
'AbstractProviderError.constructResolvingMessage:Function',
|
|
||||||
'AbstractProviderError.constructor(injector:ReflectiveInjector, key:ReflectiveKey, constructResolvingMessage:Function)',
|
'AbstractProviderError.constructor(injector:ReflectiveInjector, key:ReflectiveKey, constructResolvingMessage:Function)',
|
||||||
|
'AbstractProviderError.constructResolvingMessage:Function',
|
||||||
'AbstractProviderError.context:any',
|
'AbstractProviderError.context:any',
|
||||||
'AbstractProviderError.injectors:ReflectiveInjector[]',
|
'AbstractProviderError.injectors:ReflectiveInjector[]',
|
||||||
'AbstractProviderError.keys:ReflectiveKey[]',
|
'AbstractProviderError.keys:ReflectiveKey[]',
|
||||||
|
@ -27,6 +28,7 @@ const CORE = [
|
||||||
'AfterViewChecked.ngAfterViewChecked():any',
|
'AfterViewChecked.ngAfterViewChecked():any',
|
||||||
'AfterViewInit',
|
'AfterViewInit',
|
||||||
'AfterViewInit.ngAfterViewInit():any',
|
'AfterViewInit.ngAfterViewInit():any',
|
||||||
|
'animate(timing:string|number, styles:AnimationStyleMetadata|AnimationKeyframesSequenceMetadata=null):AnimationAnimateMetadata',
|
||||||
'AnimationAnimateMetadata',
|
'AnimationAnimateMetadata',
|
||||||
'AnimationAnimateMetadata.constructor(timings:string|number, styles:AnimationStyleMetadata|AnimationKeyframesSequenceMetadata)',
|
'AnimationAnimateMetadata.constructor(timings:string|number, styles:AnimationStyleMetadata|AnimationKeyframesSequenceMetadata)',
|
||||||
'AnimationAnimateMetadata.styles:AnimationStyleMetadata|AnimationKeyframesSequenceMetadata',
|
'AnimationAnimateMetadata.styles:AnimationStyleMetadata|AnimationKeyframesSequenceMetadata',
|
||||||
|
@ -84,17 +86,20 @@ const CORE = [
|
||||||
'ApplicationRef.tick():void',
|
'ApplicationRef.tick():void',
|
||||||
'ApplicationRef.waitForAsyncInitializers():Promise<any>',
|
'ApplicationRef.waitForAsyncInitializers():Promise<any>',
|
||||||
'ApplicationRef.zone:NgZone',
|
'ApplicationRef.zone:NgZone',
|
||||||
|
'asNativeElements(debugEls:DebugElement[]):any',
|
||||||
|
'assertPlatform(requiredToken:any):PlatformRef',
|
||||||
'AttributeMetadata',
|
'AttributeMetadata',
|
||||||
'AttributeMetadata.attributeName:string',
|
'AttributeMetadata.attributeName:string',
|
||||||
'AttributeMetadata.constructor(attributeName:string)',
|
'AttributeMetadata.constructor(attributeName:string)',
|
||||||
'AttributeMetadata.toString():string',
|
|
||||||
'AttributeMetadata.token:AttributeMetadata',
|
'AttributeMetadata.token:AttributeMetadata',
|
||||||
|
'AttributeMetadata.toString():string',
|
||||||
'AttributeMetadataFactory',
|
'AttributeMetadataFactory',
|
||||||
'BaseException',
|
'BaseException',
|
||||||
'BaseException.constructor(message:string="--")',
|
'BaseException.constructor(message:string="--")',
|
||||||
'BaseException.message:string="--"',
|
'BaseException.message:string="--"',
|
||||||
'BaseException.stack:any',
|
'BaseException.stack:any',
|
||||||
'BaseException.toString():string',
|
'BaseException.toString():string',
|
||||||
|
'bind(token:any):ProviderBuilder',
|
||||||
'Binding',
|
'Binding',
|
||||||
'Binding.constructor(token:any, {toClass,toValue,toAlias,toFactory,deps,multi}:{toClass?:Type, toValue?:any, toAlias?:any, toFactory:Function, deps?:Object[], multi?:boolean})',
|
'Binding.constructor(token:any, {toClass,toValue,toAlias,toFactory,deps,multi}:{toClass?:Type, toValue?:any, toAlias?:any, toFactory:Function, deps?:Object[], multi?:boolean})',
|
||||||
'Binding.toAlias:any',
|
'Binding.toAlias:any',
|
||||||
|
@ -103,8 +108,8 @@ const CORE = [
|
||||||
'Binding.toValue:any',
|
'Binding.toValue:any',
|
||||||
'ChangeDetectionStrategy',
|
'ChangeDetectionStrategy',
|
||||||
'ChangeDetectionStrategy.CheckAlways',
|
'ChangeDetectionStrategy.CheckAlways',
|
||||||
'ChangeDetectionStrategy.CheckOnce',
|
|
||||||
'ChangeDetectionStrategy.Checked',
|
'ChangeDetectionStrategy.Checked',
|
||||||
|
'ChangeDetectionStrategy.CheckOnce',
|
||||||
'ChangeDetectionStrategy.Default',
|
'ChangeDetectionStrategy.Default',
|
||||||
'ChangeDetectionStrategy.Detached',
|
'ChangeDetectionStrategy.Detached',
|
||||||
'ChangeDetectionStrategy.OnPush',
|
'ChangeDetectionStrategy.OnPush',
|
||||||
|
@ -140,8 +145,8 @@ const CORE = [
|
||||||
'ComponentMetadata.encapsulation:ViewEncapsulation',
|
'ComponentMetadata.encapsulation:ViewEncapsulation',
|
||||||
'ComponentMetadata.moduleId:string',
|
'ComponentMetadata.moduleId:string',
|
||||||
'ComponentMetadata.pipes:Array<Type|any[]>',
|
'ComponentMetadata.pipes:Array<Type|any[]>',
|
||||||
'ComponentMetadata.styleUrls:string[]',
|
|
||||||
'ComponentMetadata.styles:string[]',
|
'ComponentMetadata.styles:string[]',
|
||||||
|
'ComponentMetadata.styleUrls:string[]',
|
||||||
'ComponentMetadata.template:string',
|
'ComponentMetadata.template:string',
|
||||||
'ComponentMetadata.templateUrl:string',
|
'ComponentMetadata.templateUrl:string',
|
||||||
'ComponentMetadata.viewProviders:any[]',
|
'ComponentMetadata.viewProviders:any[]',
|
||||||
|
@ -158,12 +163,25 @@ const CORE = [
|
||||||
'ComponentResolver',
|
'ComponentResolver',
|
||||||
'ComponentResolver.clearCache():any',
|
'ComponentResolver.clearCache():any',
|
||||||
'ComponentResolver.resolveComponent(component:Type|string):Promise<ComponentFactory<any>>',
|
'ComponentResolver.resolveComponent(component:Type|string):Promise<ComponentFactory<any>>',
|
||||||
|
'const APP_ID:any',
|
||||||
|
'const APP_INITIALIZER:any',
|
||||||
|
'const APPLICATION_COMMON_PROVIDERS:Array<Type|{[k:string]:any}|any[]>',
|
||||||
|
'const AUTO_STYLE:any',
|
||||||
|
'const PACKAGE_ROOT_URL:any',
|
||||||
|
'const PLATFORM_COMMON_PROVIDERS:Array<any|Type|Provider|any[]>',
|
||||||
|
'const PLATFORM_DIRECTIVES:OpaqueToken',
|
||||||
|
'const PLATFORM_INITIALIZER:any',
|
||||||
|
'const PLATFORM_PIPES:OpaqueToken',
|
||||||
'ContentChildMetadata',
|
'ContentChildMetadata',
|
||||||
'ContentChildMetadata.constructor(_selector:Type|string, {read=null}:{read?:any}={})',
|
'ContentChildMetadata.constructor(_selector:Type|string, {read=null}:{read?:any}={})',
|
||||||
'ContentChildMetadataFactory',
|
'ContentChildMetadataFactory',
|
||||||
'ContentChildrenMetadata',
|
'ContentChildrenMetadata',
|
||||||
'ContentChildrenMetadata.constructor(_selector:Type|string, {descendants=false,read=null}:{descendants?:boolean, read?:any}={})',
|
'ContentChildrenMetadata.constructor(_selector:Type|string, {descendants=false,read=null}:{descendants?:boolean, read?:any}={})',
|
||||||
'ContentChildrenMetadataFactory',
|
'ContentChildrenMetadataFactory',
|
||||||
|
'coreBootstrap(componentFactory:ComponentFactory<C>, injector:Injector):ComponentRef<C>',
|
||||||
|
'coreLoadAndBootstrap(componentType:Type, injector:Injector):Promise<ComponentRef<any>>',
|
||||||
|
'createNgZone():NgZone',
|
||||||
|
'createPlatform(injector:Injector):PlatformRef',
|
||||||
'CyclicDependencyError',
|
'CyclicDependencyError',
|
||||||
'CyclicDependencyError.constructor(injector:ReflectiveInjector, key:ReflectiveKey)',
|
'CyclicDependencyError.constructor(injector:ReflectiveInjector, key:ReflectiveKey)',
|
||||||
'DebugElement',
|
'DebugElement',
|
||||||
|
@ -223,6 +241,7 @@ const CORE = [
|
||||||
'DirectiveMetadata.queries:{[key:string]:any}',
|
'DirectiveMetadata.queries:{[key:string]:any}',
|
||||||
'DirectiveMetadata.selector:string',
|
'DirectiveMetadata.selector:string',
|
||||||
'DirectiveMetadataFactory',
|
'DirectiveMetadataFactory',
|
||||||
|
'disposePlatform():void',
|
||||||
'DoCheck',
|
'DoCheck',
|
||||||
'DoCheck.ngDoCheck():any',
|
'DoCheck.ngDoCheck():any',
|
||||||
'DynamicComponentLoader',
|
'DynamicComponentLoader',
|
||||||
|
@ -235,6 +254,7 @@ const CORE = [
|
||||||
'EmbeddedViewRef.destroy():any',
|
'EmbeddedViewRef.destroy():any',
|
||||||
'EmbeddedViewRef.rootNodes:any[]',
|
'EmbeddedViewRef.rootNodes:any[]',
|
||||||
'EmbeddedViewRef<C>',
|
'EmbeddedViewRef<C>',
|
||||||
|
'enableProdMode():any',
|
||||||
'EventEmitter.constructor(isAsync:boolean=false)',
|
'EventEmitter.constructor(isAsync:boolean=false)',
|
||||||
'EventEmitter.emit(value:T):any',
|
'EventEmitter.emit(value:T):any',
|
||||||
'EventEmitter.next(value:any):any',
|
'EventEmitter.next(value:any):any',
|
||||||
|
@ -246,10 +266,14 @@ const CORE = [
|
||||||
'ExceptionHandler.exceptionToString(exception:any, stackTrace:any=null, reason:string=null):string',
|
'ExceptionHandler.exceptionToString(exception:any, stackTrace:any=null, reason:string=null):string',
|
||||||
'ExpressionChangedAfterItHasBeenCheckedException',
|
'ExpressionChangedAfterItHasBeenCheckedException',
|
||||||
'ExpressionChangedAfterItHasBeenCheckedException.constructor(oldValue:any, currValue:any, context:any)',
|
'ExpressionChangedAfterItHasBeenCheckedException.constructor(oldValue:any, currValue:any, context:any)',
|
||||||
|
'forwardRef(forwardRefFn:ForwardRefFn):Type',
|
||||||
'ForwardRefFn',
|
'ForwardRefFn',
|
||||||
|
'getDebugNode(nativeNode:any):DebugNode',
|
||||||
|
'getPlatform():PlatformRef',
|
||||||
'GetTestability',
|
'GetTestability',
|
||||||
'GetTestability.addToWindow(registry:TestabilityRegistry):void',
|
'GetTestability.addToWindow(registry:TestabilityRegistry):void',
|
||||||
'GetTestability.findTestabilityInTree(registry:TestabilityRegistry, elem:any, findInAncestors:boolean):Testability',
|
'GetTestability.findTestabilityInTree(registry:TestabilityRegistry, elem:any, findInAncestors:boolean):Testability',
|
||||||
|
'group(steps:AnimationMetadata[]):AnimationGroupMetadata',
|
||||||
'HostBindingMetadata',
|
'HostBindingMetadata',
|
||||||
'HostBindingMetadata.constructor(hostPropertyName?:string)',
|
'HostBindingMetadata.constructor(hostPropertyName?:string)',
|
||||||
'HostBindingMetadata.hostPropertyName?:string',
|
'HostBindingMetadata.hostPropertyName?:string',
|
||||||
|
@ -262,17 +286,17 @@ const CORE = [
|
||||||
'HostMetadata',
|
'HostMetadata',
|
||||||
'HostMetadata.toString():string',
|
'HostMetadata.toString():string',
|
||||||
'HostMetadataFactory',
|
'HostMetadataFactory',
|
||||||
'InjectMetadata',
|
|
||||||
'InjectMetadata.constructor(token:any)',
|
|
||||||
'InjectMetadata.toString():string',
|
|
||||||
'InjectMetadata.token:any',
|
|
||||||
'InjectMetadataFactory',
|
|
||||||
'InjectableMetadata',
|
'InjectableMetadata',
|
||||||
'InjectableMetadata.constructor()',
|
'InjectableMetadata.constructor()',
|
||||||
'InjectableMetadataFactory',
|
'InjectableMetadataFactory',
|
||||||
|
'InjectMetadata',
|
||||||
|
'InjectMetadata.constructor(token:any)',
|
||||||
|
'InjectMetadata.token:any',
|
||||||
|
'InjectMetadata.toString():string',
|
||||||
|
'InjectMetadataFactory',
|
||||||
'Injector',
|
'Injector',
|
||||||
'Injector.THROW_IF_NOT_FOUND:any',
|
|
||||||
'Injector.get(token:any, notFoundValue?:any):any',
|
'Injector.get(token:any, notFoundValue?:any):any',
|
||||||
|
'Injector.THROW_IF_NOT_FOUND:any',
|
||||||
'InputMetadata',
|
'InputMetadata',
|
||||||
'InputMetadata.bindingPropertyName?:string',
|
'InputMetadata.bindingPropertyName?:string',
|
||||||
'InputMetadata.constructor(bindingPropertyName?:string)',
|
'InputMetadata.constructor(bindingPropertyName?:string)',
|
||||||
|
@ -299,6 +323,7 @@ const CORE = [
|
||||||
'IterableDiffers.extend(factories:IterableDifferFactory[]):Provider',
|
'IterableDiffers.extend(factories:IterableDifferFactory[]):Provider',
|
||||||
'IterableDiffers.factories:IterableDifferFactory[]',
|
'IterableDiffers.factories:IterableDifferFactory[]',
|
||||||
'IterableDiffers.find(iterable:any):IterableDifferFactory',
|
'IterableDiffers.find(iterable:any):IterableDifferFactory',
|
||||||
|
'keyframes(steps:AnimationStyleMetadata[]):AnimationKeyframesSequenceMetadata',
|
||||||
'KeyValueChangeRecord',
|
'KeyValueChangeRecord',
|
||||||
'KeyValueChangeRecord.constructor(key:any)',
|
'KeyValueChangeRecord.constructor(key:any)',
|
||||||
'KeyValueChangeRecord.currentValue:any',
|
'KeyValueChangeRecord.currentValue:any',
|
||||||
|
@ -370,6 +395,7 @@ const CORE = [
|
||||||
'PlatformRef.disposed:boolean',
|
'PlatformRef.disposed:boolean',
|
||||||
'PlatformRef.injector:Injector',
|
'PlatformRef.injector:Injector',
|
||||||
'PlatformRef.registerDisposeListener(dispose:() => void):void',
|
'PlatformRef.registerDisposeListener(dispose:() => void):void',
|
||||||
|
'provide(token:any, {useClass,useValue,useExisting,useFactory,deps,multi}:{useClass?:Type, useValue?:any, useExisting?:any, useFactory?:Function, deps?:Object[], multi?:boolean}):Provider',
|
||||||
'Provider',
|
'Provider',
|
||||||
'Provider.constructor(token:any, {useClass,useValue,useExisting,useFactory,deps,multi}:{useClass?:Type, useValue?:any, useExisting?:any, useFactory?:Function, deps?:Object[], multi?:boolean})',
|
'Provider.constructor(token:any, {useClass,useValue,useExisting,useFactory,deps,multi}:{useClass?:Type, useValue?:any, useExisting?:any, useFactory?:Function, deps?:Object[], multi?:boolean})',
|
||||||
'Provider.dependencies:Object[]',
|
'Provider.dependencies:Object[]',
|
||||||
|
@ -384,8 +410,8 @@ const CORE = [
|
||||||
'ProviderBuilder.toAlias(aliasToken:any):Provider',
|
'ProviderBuilder.toAlias(aliasToken:any):Provider',
|
||||||
'ProviderBuilder.toClass(type:Type):Provider',
|
'ProviderBuilder.toClass(type:Type):Provider',
|
||||||
'ProviderBuilder.toFactory(factory:Function, dependencies?:any[]):Provider',
|
'ProviderBuilder.toFactory(factory:Function, dependencies?:any[]):Provider',
|
||||||
'ProviderBuilder.toValue(value:any):Provider',
|
|
||||||
'ProviderBuilder.token:any',
|
'ProviderBuilder.token:any',
|
||||||
|
'ProviderBuilder.toValue(value:any):Provider',
|
||||||
'QueryList.changes:Observable<any>',
|
'QueryList.changes:Observable<any>',
|
||||||
'QueryList.dirty:any',
|
'QueryList.dirty:any',
|
||||||
'QueryList.filter(fn:(item: T) => boolean):T[]',
|
'QueryList.filter(fn:(item: T) => boolean):T[]',
|
||||||
|
@ -467,11 +493,14 @@ const CORE = [
|
||||||
'ResolvedReflectiveProvider.key:ReflectiveKey',
|
'ResolvedReflectiveProvider.key:ReflectiveKey',
|
||||||
'ResolvedReflectiveProvider.multiProvider:boolean',
|
'ResolvedReflectiveProvider.multiProvider:boolean',
|
||||||
'ResolvedReflectiveProvider.resolvedFactories:ResolvedReflectiveFactory[]',
|
'ResolvedReflectiveProvider.resolvedFactories:ResolvedReflectiveFactory[]',
|
||||||
|
'resolveForwardRef(type:any):any',
|
||||||
'RootRenderer',
|
'RootRenderer',
|
||||||
'RootRenderer.renderComponent(componentType:RenderComponentType):Renderer',
|
'RootRenderer.renderComponent(componentType:RenderComponentType):Renderer',
|
||||||
'SelfMetadata',
|
'SelfMetadata',
|
||||||
'SelfMetadata.toString():string',
|
'SelfMetadata.toString():string',
|
||||||
'SelfMetadataFactory',
|
'SelfMetadataFactory',
|
||||||
|
'sequence(steps:AnimationMetadata[]):AnimationSequenceMetadata',
|
||||||
|
'setTestabilityGetter(getter:GetTestability):void',
|
||||||
'SimpleChange',
|
'SimpleChange',
|
||||||
'SimpleChange.constructor(previousValue:any, currentValue:any)',
|
'SimpleChange.constructor(previousValue:any, currentValue:any)',
|
||||||
'SimpleChange.currentValue:any',
|
'SimpleChange.currentValue:any',
|
||||||
|
@ -481,6 +510,8 @@ const CORE = [
|
||||||
'SkipSelfMetadata',
|
'SkipSelfMetadata',
|
||||||
'SkipSelfMetadata.toString():string',
|
'SkipSelfMetadata.toString():string',
|
||||||
'SkipSelfMetadataFactory',
|
'SkipSelfMetadataFactory',
|
||||||
|
'state(stateNameExpr:string, styles:AnimationStyleMetadata):AnimationStateDeclarationMetadata',
|
||||||
|
'style(tokens:string|{[key:string]:string|number}|Array<string|{[key:string]:string|number}>):AnimationStyleMetadata',
|
||||||
'SystemJsComponentResolver',
|
'SystemJsComponentResolver',
|
||||||
'SystemJsComponentResolver.clearCache():any',
|
'SystemJsComponentResolver.clearCache():any',
|
||||||
'SystemJsComponentResolver.constructor(_resolver:ComponentResolver)',
|
'SystemJsComponentResolver.constructor(_resolver:ComponentResolver)',
|
||||||
|
@ -505,9 +536,37 @@ const CORE = [
|
||||||
'TestabilityRegistry.getTestability(elem:any):Testability',
|
'TestabilityRegistry.getTestability(elem:any):Testability',
|
||||||
'TestabilityRegistry.registerApplication(token:any, testability:Testability):any',
|
'TestabilityRegistry.registerApplication(token:any, testability:Testability):any',
|
||||||
'TrackByFn',
|
'TrackByFn',
|
||||||
|
'transition(stateChangeExpr:string, steps:AnimationMetadata|AnimationMetadata[]):AnimationStateTransitionMetadata',
|
||||||
|
'trigger(name:string, animation:AnimationMetadata[]):AnimationEntryMetadata',
|
||||||
'TypeDecorator',
|
'TypeDecorator',
|
||||||
'TypeDecorator.Class(obj:ClassDefinition):ConcreteType',
|
|
||||||
'TypeDecorator.annotations:any[]',
|
'TypeDecorator.annotations:any[]',
|
||||||
|
'TypeDecorator.Class(obj:ClassDefinition):ConcreteType',
|
||||||
|
'var __core_private__:any',
|
||||||
|
'var Attribute:AttributeMetadataFactory',
|
||||||
|
'var Component:ComponentMetadataFactory',
|
||||||
|
'var ContentChild:ContentChildMetadataFactory',
|
||||||
|
'var ContentChildren:ContentChildrenMetadataFactory',
|
||||||
|
'var Directive:DirectiveMetadataFactory',
|
||||||
|
'var Host:HostMetadataFactory',
|
||||||
|
'var HostBinding:HostBindingMetadataFactory',
|
||||||
|
'var HostListener:HostListenerMetadataFactory',
|
||||||
|
'var Inject:InjectMetadataFactory',
|
||||||
|
'var Injectable:InjectableMetadataFactory',
|
||||||
|
'var Input:InputMetadataFactory',
|
||||||
|
'var Optional:OptionalMetadataFactory',
|
||||||
|
'var Output:OutputMetadataFactory',
|
||||||
|
'var Pipe:PipeMetadataFactory',
|
||||||
|
'var Query:QueryMetadataFactory',
|
||||||
|
'var Self:SelfMetadataFactory',
|
||||||
|
'var SkipSelf:SkipSelfMetadataFactory',
|
||||||
|
'var Type:any',
|
||||||
|
'var ViewChild:ViewChildMetadataFactory',
|
||||||
|
'var ViewChildren:ViewChildrenMetadataFactory',
|
||||||
|
'var ViewQuery:QueryMetadataFactory',
|
||||||
|
'var wtfCreateScope:(signature: string, flags?: any) => impl.WtfScopeFn',
|
||||||
|
'var wtfEndTimeRange:(range: any) => void',
|
||||||
|
'var wtfLeave:<T>(scope: any, returnValue?: T) => T',
|
||||||
|
'var wtfStartTimeRange:(rangeType: string, action: string) => any',
|
||||||
'ViewChildMetadata',
|
'ViewChildMetadata',
|
||||||
'ViewChildMetadata.constructor(_selector:Type|string, {read=null}:{read?:any}={})',
|
'ViewChildMetadata.constructor(_selector:Type|string, {read=null}:{read?:any}={})',
|
||||||
'ViewChildMetadataFactory',
|
'ViewChildMetadataFactory',
|
||||||
|
@ -539,8 +598,8 @@ const CORE = [
|
||||||
'ViewMetadata.directives:Array<Type|any[]>',
|
'ViewMetadata.directives:Array<Type|any[]>',
|
||||||
'ViewMetadata.encapsulation:ViewEncapsulation',
|
'ViewMetadata.encapsulation:ViewEncapsulation',
|
||||||
'ViewMetadata.pipes:Array<Type|any[]>',
|
'ViewMetadata.pipes:Array<Type|any[]>',
|
||||||
'ViewMetadata.styleUrls:string[]',
|
|
||||||
'ViewMetadata.styles:string[]',
|
'ViewMetadata.styles:string[]',
|
||||||
|
'ViewMetadata.styleUrls:string[]',
|
||||||
'ViewMetadata.template:string',
|
'ViewMetadata.template:string',
|
||||||
'ViewMetadata.templateUrl:string',
|
'ViewMetadata.templateUrl:string',
|
||||||
'ViewMetadataFactory',
|
'ViewMetadataFactory',
|
||||||
|
@ -565,71 +624,29 @@ const CORE = [
|
||||||
'WrappedValue.wrap(value:any):WrappedValue',
|
'WrappedValue.wrap(value:any):WrappedValue',
|
||||||
'WrappedValue.wrapped:any',
|
'WrappedValue.wrapped:any',
|
||||||
'WtfScopeFn',
|
'WtfScopeFn',
|
||||||
'animate(timing:string|number, styles:AnimationStyleMetadata|AnimationKeyframesSequenceMetadata=null):AnimationAnimateMetadata',
|
|
||||||
'asNativeElements(debugEls:DebugElement[]):any',
|
|
||||||
'assertPlatform(requiredToken:any):PlatformRef',
|
|
||||||
'bind(token:any):ProviderBuilder',
|
|
||||||
'const APPLICATION_COMMON_PROVIDERS:Array<Type|{[k:string]:any}|any[]>',
|
|
||||||
'const APP_ID:any',
|
|
||||||
'const APP_INITIALIZER:any',
|
|
||||||
'const AUTO_STYLE:any',
|
|
||||||
'const PACKAGE_ROOT_URL:any',
|
|
||||||
'const PLATFORM_COMMON_PROVIDERS:Array<any|Type|Provider|any[]>',
|
|
||||||
'const PLATFORM_DIRECTIVES:OpaqueToken',
|
|
||||||
'const PLATFORM_INITIALIZER:any',
|
|
||||||
'const PLATFORM_PIPES:OpaqueToken',
|
|
||||||
'coreBootstrap(componentFactory:ComponentFactory<C>, injector:Injector):ComponentRef<C>',
|
|
||||||
'coreLoadAndBootstrap(componentType:Type, injector:Injector):Promise<ComponentRef<any>>',
|
|
||||||
'createNgZone():NgZone',
|
|
||||||
'createPlatform(injector:Injector):PlatformRef',
|
|
||||||
'disposePlatform():void',
|
|
||||||
'enableProdMode():any',
|
|
||||||
'forwardRef(forwardRefFn:ForwardRefFn):Type',
|
|
||||||
'getDebugNode(nativeNode:any):DebugNode',
|
|
||||||
'getPlatform():PlatformRef',
|
|
||||||
'group(steps:AnimationMetadata[]):AnimationGroupMetadata',
|
|
||||||
'keyframes(steps:AnimationStyleMetadata[]):AnimationKeyframesSequenceMetadata',
|
|
||||||
'provide(token:any, {useClass,useValue,useExisting,useFactory,deps,multi}:{useClass?:Type, useValue?:any, useExisting?:any, useFactory?:Function, deps?:Object[], multi?:boolean}):Provider',
|
|
||||||
'resolveForwardRef(type:any):any',
|
|
||||||
'sequence(steps:AnimationMetadata[]):AnimationSequenceMetadata',
|
|
||||||
'setTestabilityGetter(getter:GetTestability):void',
|
|
||||||
'state(stateNameExpr:string, styles:AnimationStyleMetadata):AnimationStateDeclarationMetadata',
|
|
||||||
'style(tokens:string|{[key:string]:string|number}|Array<string|{[key:string]:string|number}>):AnimationStyleMetadata',
|
|
||||||
'transition(stateChangeExpr:string, steps:AnimationMetadata|AnimationMetadata[]):AnimationStateTransitionMetadata',
|
|
||||||
'trigger(name:string, animation:AnimationMetadata[]):AnimationEntryMetadata',
|
|
||||||
'var Attribute:AttributeMetadataFactory',
|
|
||||||
'var Component:ComponentMetadataFactory',
|
|
||||||
'var ContentChild:ContentChildMetadataFactory',
|
|
||||||
'var ContentChildren:ContentChildrenMetadataFactory',
|
|
||||||
'var Directive:DirectiveMetadataFactory',
|
|
||||||
'var Host:HostMetadataFactory',
|
|
||||||
'var HostBinding:HostBindingMetadataFactory',
|
|
||||||
'var HostListener:HostListenerMetadataFactory',
|
|
||||||
'var Inject:InjectMetadataFactory',
|
|
||||||
'var Injectable:InjectableMetadataFactory',
|
|
||||||
'var Input:InputMetadataFactory',
|
|
||||||
'var Optional:OptionalMetadataFactory',
|
|
||||||
'var Output:OutputMetadataFactory',
|
|
||||||
'var Pipe:PipeMetadataFactory',
|
|
||||||
'var Query:QueryMetadataFactory',
|
|
||||||
'var Self:SelfMetadataFactory',
|
|
||||||
'var SkipSelf:SkipSelfMetadataFactory',
|
|
||||||
'var Type:any',
|
|
||||||
'var ViewChild:ViewChildMetadataFactory',
|
|
||||||
'var ViewChildren:ViewChildrenMetadataFactory',
|
|
||||||
'var ViewQuery:QueryMetadataFactory',
|
|
||||||
'var __core_private__:any',
|
|
||||||
'var wtfCreateScope:(signature: string, flags?: any) => impl.WtfScopeFn',
|
|
||||||
'var wtfEndTimeRange:(range: any) => void',
|
|
||||||
'var wtfLeave:<T>(scope: any, returnValue?: T) => T',
|
|
||||||
'var wtfStartTimeRange:(rangeType: string, action: string) => any',
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const CORE_TESTING = [
|
const CORE_TESTING = [
|
||||||
|
'async(fn:Function):Function',
|
||||||
|
'beforeEach(fn:Function):void',
|
||||||
|
'beforeEachProviders(fn:() => Array<any>):void',
|
||||||
|
'clearPendingTimers():void',
|
||||||
|
'containsRegexp(input:string):RegExp',
|
||||||
|
'discardPeriodicTasks():void',
|
||||||
|
'fakeAsync(fn:Function):Function',
|
||||||
|
'fit(name:string, fn:Function, timeOut:number=null):void',
|
||||||
|
'flushMicrotasks():void',
|
||||||
|
'getTestInjector():any',
|
||||||
|
'getTypeOf(instance:any):any',
|
||||||
|
'iit(name:string, fn:Function, timeOut:number=null):void',
|
||||||
|
'inject(tokens:any[], fn:Function):Function',
|
||||||
|
'injectAsync(tokens:any[], fn:Function):Function',
|
||||||
'InjectSetupWrapper',
|
'InjectSetupWrapper',
|
||||||
'InjectSetupWrapper.constructor(_providers:() => any)',
|
'InjectSetupWrapper.constructor(_providers:() => any)',
|
||||||
'InjectSetupWrapper.inject(tokens:any[], fn:Function):Function',
|
'InjectSetupWrapper.inject(tokens:any[], fn:Function):Function',
|
||||||
'InjectSetupWrapper.injectAsync(tokens:any[], fn:Function):Function',
|
'InjectSetupWrapper.injectAsync(tokens:any[], fn:Function):Function',
|
||||||
|
'instantiateType(type:Function, params:any[]=[]):any',
|
||||||
|
'it(name:string, fn:Function, timeOut:number=null):void',
|
||||||
'Log',
|
'Log',
|
||||||
'Log.add(value:any):void',
|
'Log.add(value:any):void',
|
||||||
'Log.clear():void',
|
'Log.clear():void',
|
||||||
|
@ -654,6 +671,8 @@ const CORE_TESTING = [
|
||||||
'MockNgZone.run(fn:Function):any',
|
'MockNgZone.run(fn:Function):any',
|
||||||
'MockNgZone.runOutsideAngular(fn:Function):any',
|
'MockNgZone.runOutsideAngular(fn:Function):any',
|
||||||
'MockNgZone.simulateZoneExit():void',
|
'MockNgZone.simulateZoneExit():void',
|
||||||
|
'resetBaseTestProviders():any',
|
||||||
|
'setBaseTestProviders(platformProviders:Array<Type|Provider|any[]>, applicationProviders:Array<Type|Provider|any[]>):any',
|
||||||
'TestInjector',
|
'TestInjector',
|
||||||
'TestInjector.addProviders(providers:Array<Type|Provider|any[]|any>):any',
|
'TestInjector.addProviders(providers:Array<Type|Provider|any[]|any>):any',
|
||||||
'TestInjector.applicationProviders:Array<Type|Provider|any[]|any>',
|
'TestInjector.applicationProviders:Array<Type|Provider|any[]|any>',
|
||||||
|
@ -662,24 +681,6 @@ const CORE_TESTING = [
|
||||||
'TestInjector.get(token:any):any',
|
'TestInjector.get(token:any):any',
|
||||||
'TestInjector.platformProviders:Array<Type|Provider|any[]|any>',
|
'TestInjector.platformProviders:Array<Type|Provider|any[]|any>',
|
||||||
'TestInjector.reset():any',
|
'TestInjector.reset():any',
|
||||||
'async(fn:Function):Function',
|
|
||||||
'beforeEach(fn:Function):void',
|
|
||||||
'beforeEachProviders(fn:() => Array<any>):void',
|
|
||||||
'clearPendingTimers():void',
|
|
||||||
'containsRegexp(input:string):RegExp',
|
|
||||||
'discardPeriodicTasks():void',
|
|
||||||
'fakeAsync(fn:Function):Function',
|
|
||||||
'fit(name:string, fn:Function, timeOut:number=null):void',
|
|
||||||
'flushMicrotasks():void',
|
|
||||||
'getTestInjector():any',
|
|
||||||
'getTypeOf(instance:any):any',
|
|
||||||
'iit(name:string, fn:Function, timeOut:number=null):void',
|
|
||||||
'inject(tokens:any[], fn:Function):Function',
|
|
||||||
'injectAsync(tokens:any[], fn:Function):Function',
|
|
||||||
'instantiateType(type:Function, params:any[]=[]):any',
|
|
||||||
'it(name:string, fn:Function, timeOut:number=null):void',
|
|
||||||
'resetBaseTestProviders():any',
|
|
||||||
'setBaseTestProviders(platformProviders:Array<Type|Provider|any[]>, applicationProviders:Array<Type|Provider|any[]>):any',
|
|
||||||
'tick(millis:number=0):void',
|
'tick(millis:number=0):void',
|
||||||
'var afterEach:Function',
|
'var afterEach:Function',
|
||||||
'var ddescribe:Function',
|
'var ddescribe:Function',
|
||||||
|
@ -738,6 +739,15 @@ const COMMON = [
|
||||||
'CheckboxControlValueAccessor.registerOnChange(fn:(_: any) => {}):void',
|
'CheckboxControlValueAccessor.registerOnChange(fn:(_: any) => {}):void',
|
||||||
'CheckboxControlValueAccessor.registerOnTouched(fn:() => {}):void',
|
'CheckboxControlValueAccessor.registerOnTouched(fn:() => {}):void',
|
||||||
'CheckboxControlValueAccessor.writeValue(value:any):void',
|
'CheckboxControlValueAccessor.writeValue(value:any):void',
|
||||||
|
'const APP_BASE_HREF:OpaqueToken',
|
||||||
|
'const COMMON_DIRECTIVES:Type[][]',
|
||||||
|
'const COMMON_PIPES:any',
|
||||||
|
'const CORE_DIRECTIVES:Type[]',
|
||||||
|
'const FORM_DIRECTIVES:Type[]',
|
||||||
|
'const FORM_PROVIDERS:Type[]',
|
||||||
|
'const NG_ASYNC_VALIDATORS:OpaqueToken',
|
||||||
|
'const NG_VALIDATORS:OpaqueToken',
|
||||||
|
'const NG_VALUE_ACCESSOR:OpaqueToken',
|
||||||
'Control',
|
'Control',
|
||||||
'Control.constructor(value:any=null, validator:ValidatorFn=null, asyncValidator:AsyncValidatorFn=null)',
|
'Control.constructor(value:any=null, validator:ValidatorFn=null, asyncValidator:AsyncValidatorFn=null)',
|
||||||
'Control.registerOnChange(fn:Function):void',
|
'Control.registerOnChange(fn:Function):void',
|
||||||
|
@ -1022,10 +1032,8 @@ const COMMON = [
|
||||||
'SlicePipe.transform(value:any, start:number, end:number=null):any',
|
'SlicePipe.transform(value:any, start:number, end:number=null):any',
|
||||||
'UpperCasePipe',
|
'UpperCasePipe',
|
||||||
'UpperCasePipe.transform(value:string):string',
|
'UpperCasePipe.transform(value:string):string',
|
||||||
// TODO: rename to LocationChangeEvent
|
|
||||||
'UrlChangeEvent',
|
'UrlChangeEvent',
|
||||||
'UrlChangeEvent.type:string',
|
'UrlChangeEvent.type:string',
|
||||||
// TODO: rename to LocationChangeListener
|
|
||||||
'UrlChangeListener',
|
'UrlChangeListener',
|
||||||
'Validator',
|
'Validator',
|
||||||
'Validator.validate(c:AbstractControl):{[key:string]:any}',
|
'Validator.validate(c:AbstractControl):{[key:string]:any}',
|
||||||
|
@ -1037,15 +1045,8 @@ const COMMON = [
|
||||||
'Validators.nullValidator(c:AbstractControl):{[key:string]:boolean}',
|
'Validators.nullValidator(c:AbstractControl):{[key:string]:boolean}',
|
||||||
'Validators.pattern(pattern:string):ValidatorFn',
|
'Validators.pattern(pattern:string):ValidatorFn',
|
||||||
'Validators.required(control:AbstractControl):{[key:string]:boolean}',
|
'Validators.required(control:AbstractControl):{[key:string]:boolean}',
|
||||||
'const APP_BASE_HREF:OpaqueToken',
|
// TODO: rename to LocationChangeEvent
|
||||||
'const COMMON_DIRECTIVES:Type[][]',
|
// TODO: rename to LocationChangeListener
|
||||||
'const COMMON_PIPES:any',
|
|
||||||
'const CORE_DIRECTIVES:Type[]',
|
|
||||||
'const FORM_DIRECTIVES:Type[]',
|
|
||||||
'const FORM_PROVIDERS:Type[]',
|
|
||||||
'const NG_ASYNC_VALIDATORS:OpaqueToken',
|
|
||||||
'const NG_VALIDATORS:OpaqueToken',
|
|
||||||
'const NG_VALUE_ACCESSOR:OpaqueToken',
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const COMMON_TESTING = [
|
const COMMON_TESTING = [
|
||||||
|
@ -1211,14 +1212,21 @@ const COMPILER = [
|
||||||
'CompileQueryMetadata.read:CompileTokenMetadata',
|
'CompileQueryMetadata.read:CompileTokenMetadata',
|
||||||
'CompileQueryMetadata.selectors:Array<CompileTokenMetadata>',
|
'CompileQueryMetadata.selectors:Array<CompileTokenMetadata>',
|
||||||
'CompileQueryMetadata.toJson():{[key:string]:any}',
|
'CompileQueryMetadata.toJson():{[key:string]:any}',
|
||||||
|
'CompilerConfig',
|
||||||
|
'CompilerConfig.constructor(genDebugInfo:boolean, logBindingUpdate:boolean, useJit:boolean, renderTypes:RenderTypes=null, defaultEncapsulation:ViewEncapsulation=null)',
|
||||||
|
'CompilerConfig.defaultEncapsulation:ViewEncapsulation',
|
||||||
|
'CompilerConfig.genDebugInfo:boolean',
|
||||||
|
'CompilerConfig.logBindingUpdate:boolean',
|
||||||
|
'CompilerConfig.renderTypes:RenderTypes',
|
||||||
|
'CompilerConfig.useJit:boolean',
|
||||||
'CompileTemplateMetadata',
|
'CompileTemplateMetadata',
|
||||||
'CompileTemplateMetadata.animations:CompileAnimationEntryMetadata[]',
|
'CompileTemplateMetadata.animations:CompileAnimationEntryMetadata[]',
|
||||||
'CompileTemplateMetadata.constructor({encapsulation,template,templateUrl,styles,styleUrls,animations,ngContentSelectors}:{encapsulation?:ViewEncapsulation, template?:string, templateUrl?:string, styles?:string[], styleUrls?:string[], ngContentSelectors?:string[], animations?:CompileAnimationEntryMetadata[]}={})',
|
'CompileTemplateMetadata.constructor({encapsulation,template,templateUrl,styles,styleUrls,animations,ngContentSelectors}:{encapsulation?:ViewEncapsulation, template?:string, templateUrl?:string, styles?:string[], styleUrls?:string[], ngContentSelectors?:string[], animations?:CompileAnimationEntryMetadata[]}={})',
|
||||||
'CompileTemplateMetadata.encapsulation:ViewEncapsulation',
|
'CompileTemplateMetadata.encapsulation:ViewEncapsulation',
|
||||||
'CompileTemplateMetadata.fromJson(data:{[key:string]:any}):CompileTemplateMetadata',
|
'CompileTemplateMetadata.fromJson(data:{[key:string]:any}):CompileTemplateMetadata',
|
||||||
'CompileTemplateMetadata.ngContentSelectors:string[]',
|
'CompileTemplateMetadata.ngContentSelectors:string[]',
|
||||||
'CompileTemplateMetadata.styleUrls:string[]',
|
|
||||||
'CompileTemplateMetadata.styles:string[]',
|
'CompileTemplateMetadata.styles:string[]',
|
||||||
|
'CompileTemplateMetadata.styleUrls:string[]',
|
||||||
'CompileTemplateMetadata.template:string',
|
'CompileTemplateMetadata.template:string',
|
||||||
'CompileTemplateMetadata.templateUrl:string',
|
'CompileTemplateMetadata.templateUrl:string',
|
||||||
'CompileTemplateMetadata.toJson():{[key:string]:any}',
|
'CompileTemplateMetadata.toJson():{[key:string]:any}',
|
||||||
|
@ -1246,13 +1254,9 @@ const COMPILER = [
|
||||||
'CompileTypeMetadata.toJson():{[key:string]:any}',
|
'CompileTypeMetadata.toJson():{[key:string]:any}',
|
||||||
'CompileTypeMetadata.type:CompileTypeMetadata',
|
'CompileTypeMetadata.type:CompileTypeMetadata',
|
||||||
'CompileTypeMetadata.value:any',
|
'CompileTypeMetadata.value:any',
|
||||||
'CompilerConfig',
|
'const COMPILER_PROVIDERS:Array<any|Type|{[k:string]:any}|any[]>',
|
||||||
'CompilerConfig.constructor(genDebugInfo:boolean, logBindingUpdate:boolean, useJit:boolean, renderTypes:RenderTypes=null, defaultEncapsulation:ViewEncapsulation=null)',
|
'const TEMPLATE_TRANSFORMS:any',
|
||||||
'CompilerConfig.defaultEncapsulation:ViewEncapsulation',
|
'createOfflineCompileUrlResolver():UrlResolver',
|
||||||
'CompilerConfig.genDebugInfo:boolean',
|
|
||||||
'CompilerConfig.logBindingUpdate:boolean',
|
|
||||||
'CompilerConfig.renderTypes:RenderTypes',
|
|
||||||
'CompilerConfig.useJit:boolean',
|
|
||||||
'DirectiveAst',
|
'DirectiveAst',
|
||||||
'DirectiveAst.constructor(directive:CompileDirectiveMetadata, inputs:BoundDirectivePropertyAst[], hostProperties:BoundElementPropertyAst[], hostEvents:BoundEventAst[], sourceSpan:ParseSourceSpan)',
|
'DirectiveAst.constructor(directive:CompileDirectiveMetadata, inputs:BoundDirectivePropertyAst[], hostProperties:BoundElementPropertyAst[], hostEvents:BoundEventAst[], sourceSpan:ParseSourceSpan)',
|
||||||
'DirectiveAst.directive:CompileDirectiveMetadata',
|
'DirectiveAst.directive:CompileDirectiveMetadata',
|
||||||
|
@ -1324,8 +1328,8 @@ const COMPILER = [
|
||||||
'ProviderAst.constructor(token:CompileTokenMetadata, multiProvider:boolean, eager:boolean, providers:CompileProviderMetadata[], providerType:ProviderAstType, sourceSpan:ParseSourceSpan)',
|
'ProviderAst.constructor(token:CompileTokenMetadata, multiProvider:boolean, eager:boolean, providers:CompileProviderMetadata[], providerType:ProviderAstType, sourceSpan:ParseSourceSpan)',
|
||||||
'ProviderAst.eager:boolean',
|
'ProviderAst.eager:boolean',
|
||||||
'ProviderAst.multiProvider:boolean',
|
'ProviderAst.multiProvider:boolean',
|
||||||
'ProviderAst.providerType:ProviderAstType',
|
|
||||||
'ProviderAst.providers:CompileProviderMetadata[]',
|
'ProviderAst.providers:CompileProviderMetadata[]',
|
||||||
|
'ProviderAst.providerType:ProviderAstType',
|
||||||
'ProviderAst.sourceSpan:ParseSourceSpan',
|
'ProviderAst.sourceSpan:ParseSourceSpan',
|
||||||
'ProviderAst.token:CompileTokenMetadata',
|
'ProviderAst.token:CompileTokenMetadata',
|
||||||
'ProviderAst.visit(visitor:TemplateAstVisitor, context:any):any',
|
'ProviderAst.visit(visitor:TemplateAstVisitor, context:any):any',
|
||||||
|
@ -1344,10 +1348,10 @@ const COMPILER = [
|
||||||
'RenderTypes',
|
'RenderTypes',
|
||||||
'RenderTypes.renderComment:CompileIdentifierMetadata',
|
'RenderTypes.renderComment:CompileIdentifierMetadata',
|
||||||
'RenderTypes.renderElement:CompileIdentifierMetadata',
|
'RenderTypes.renderElement:CompileIdentifierMetadata',
|
||||||
|
'RenderTypes.renderer:CompileIdentifierMetadata',
|
||||||
'RenderTypes.renderEvent:CompileIdentifierMetadata',
|
'RenderTypes.renderEvent:CompileIdentifierMetadata',
|
||||||
'RenderTypes.renderNode:CompileIdentifierMetadata',
|
'RenderTypes.renderNode:CompileIdentifierMetadata',
|
||||||
'RenderTypes.renderText:CompileIdentifierMetadata',
|
'RenderTypes.renderText:CompileIdentifierMetadata',
|
||||||
'RenderTypes.renderer:CompileIdentifierMetadata',
|
|
||||||
'RuntimeCompiler',
|
'RuntimeCompiler',
|
||||||
'RuntimeCompiler.clearCache():any',
|
'RuntimeCompiler.clearCache():any',
|
||||||
'RuntimeCompiler.constructor(_metadataResolver:CompileMetadataResolver, _templateNormalizer:DirectiveNormalizer, _templateParser:TemplateParser, _styleCompiler:StyleCompiler, _viewCompiler:ViewCompiler, _xhr:XHR, _genConfig:CompilerConfig)',
|
'RuntimeCompiler.constructor(_metadataResolver:CompileMetadataResolver, _templateNormalizer:DirectiveNormalizer, _templateParser:TemplateParser, _styleCompiler:StyleCompiler, _viewCompiler:ViewCompiler, _xhr:XHR, _genConfig:CompilerConfig)',
|
||||||
|
@ -1372,6 +1376,7 @@ const COMPILER = [
|
||||||
'TemplateAstVisitor.visitReference(ast:ReferenceAst, context:any):any',
|
'TemplateAstVisitor.visitReference(ast:ReferenceAst, context:any):any',
|
||||||
'TemplateAstVisitor.visitText(ast:TextAst, context:any):any',
|
'TemplateAstVisitor.visitText(ast:TextAst, context:any):any',
|
||||||
'TemplateAstVisitor.visitVariable(ast:VariableAst, context:any):any',
|
'TemplateAstVisitor.visitVariable(ast:VariableAst, context:any):any',
|
||||||
|
'templateVisitAll(visitor:TemplateAstVisitor, asts:TemplateAst[], context:any=null):any[]',
|
||||||
'TextAst',
|
'TextAst',
|
||||||
'TextAst.constructor(value:string, ngContentIndex:number, sourceSpan:ParseSourceSpan)',
|
'TextAst.constructor(value:string, ngContentIndex:number, sourceSpan:ParseSourceSpan)',
|
||||||
'TextAst.ngContentIndex:number',
|
'TextAst.ngContentIndex:number',
|
||||||
|
@ -1381,6 +1386,7 @@ const COMPILER = [
|
||||||
'UrlResolver',
|
'UrlResolver',
|
||||||
'UrlResolver.constructor(_packagePrefix:string=null)',
|
'UrlResolver.constructor(_packagePrefix:string=null)',
|
||||||
'UrlResolver.resolve(baseUrl:string, url:string):string',
|
'UrlResolver.resolve(baseUrl:string, url:string):string',
|
||||||
|
'var DEFAULT_PACKAGE_URL_PROVIDER:any',
|
||||||
'VariableAst',
|
'VariableAst',
|
||||||
'VariableAst.constructor(name:string, value:string, sourceSpan:ParseSourceSpan)',
|
'VariableAst.constructor(name:string, value:string, sourceSpan:ParseSourceSpan)',
|
||||||
'VariableAst.name:string',
|
'VariableAst.name:string',
|
||||||
|
@ -1392,11 +1398,6 @@ const COMPILER = [
|
||||||
'ViewResolver.resolve(component:Type):ViewMetadata',
|
'ViewResolver.resolve(component:Type):ViewMetadata',
|
||||||
'XHR',
|
'XHR',
|
||||||
'XHR.get(url:string):Promise<string>',
|
'XHR.get(url:string):Promise<string>',
|
||||||
'const COMPILER_PROVIDERS:Array<any|Type|{[k:string]:any}|any[]>',
|
|
||||||
'const TEMPLATE_TRANSFORMS:any',
|
|
||||||
'createOfflineCompileUrlResolver():UrlResolver',
|
|
||||||
'templateVisitAll(visitor:TemplateAstVisitor, asts:TemplateAst[], context:any=null):any[]',
|
|
||||||
'var DEFAULT_PACKAGE_URL_PROVIDER:any',
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const COMPILER_TESTING = [
|
const COMPILER_TESTING = [
|
||||||
|
@ -1476,6 +1477,10 @@ const UPGRADE = [
|
||||||
];
|
];
|
||||||
|
|
||||||
const PLATFORM_BROWSER = [
|
const PLATFORM_BROWSER = [
|
||||||
|
'bootstrap(appComponentType:Type, customProviders?:Array<any>):Promise<ComponentRef<any>>',
|
||||||
|
'bootstrapApp(appComponentType:Type, customProviders?:Array<any>):Promise<ComponentRef<any>>',
|
||||||
|
'bootstrapRender(workerScriptUri:string, customProviders?:Array<any>):Promise<ApplicationRef>',
|
||||||
|
'browserPlatform():PlatformRef',
|
||||||
'BrowserPlatformLocation',
|
'BrowserPlatformLocation',
|
||||||
'BrowserPlatformLocation.back():void',
|
'BrowserPlatformLocation.back():void',
|
||||||
'BrowserPlatformLocation.constructor()',
|
'BrowserPlatformLocation.constructor()',
|
||||||
|
@ -1498,6 +1503,26 @@ const PLATFORM_BROWSER = [
|
||||||
'ClientMessageBroker.runOnService(args:UiArguments, returnType:Type):Promise<any>',
|
'ClientMessageBroker.runOnService(args:UiArguments, returnType:Type):Promise<any>',
|
||||||
'ClientMessageBrokerFactory',
|
'ClientMessageBrokerFactory',
|
||||||
'ClientMessageBrokerFactory.createMessageBroker(channel:string, runInZone?:boolean):ClientMessageBroker',
|
'ClientMessageBrokerFactory.createMessageBroker(channel:string, runInZone?:boolean):ClientMessageBroker',
|
||||||
|
'const BROWSER_APP_COMPILER_PROVIDERS:Array<any>',
|
||||||
|
'const BROWSER_APP_PROVIDERS:Array<any>',
|
||||||
|
'const BROWSER_PLATFORM_PROVIDERS:Array<any>',
|
||||||
|
'const BROWSER_PROVIDERS:any[]',
|
||||||
|
'const BROWSER_SANITIZATION_PROVIDERS:Array<any>',
|
||||||
|
'const CACHED_TEMPLATE_PROVIDER:Array<any>',
|
||||||
|
'const DOCUMENT:OpaqueToken',
|
||||||
|
'const ELEMENT_PROBE_PROVIDERS:any[]',
|
||||||
|
'const EVENT_MANAGER_PLUGINS:OpaqueToken',
|
||||||
|
'const HAMMER_GESTURE_CONFIG:OpaqueToken',
|
||||||
|
'const PRIMITIVE:Type',
|
||||||
|
'const WORKER_APP_APPLICATION_PROVIDERS:Array<any>',
|
||||||
|
'const WORKER_APP_LOCATION_PROVIDERS:any',
|
||||||
|
'const WORKER_APP_PLATFORM_PROVIDERS:Array<any>',
|
||||||
|
'const WORKER_RENDER_APPLICATION_PROVIDERS:Array<any>',
|
||||||
|
'const WORKER_RENDER_LOCATION_PROVIDERS:any',
|
||||||
|
'const WORKER_RENDER_PLATFORM_PROVIDERS:Array<any>',
|
||||||
|
'const WORKER_RENDER_STARTABLE_MESSAGING_SERVICE:any',
|
||||||
|
'const WORKER_SCRIPT:OpaqueToken',
|
||||||
|
'disableDebugTools():void',
|
||||||
'DomEventsPlugin',
|
'DomEventsPlugin',
|
||||||
'DomEventsPlugin.addEventListener(element:HTMLElement, eventName:string, handler:Function):Function',
|
'DomEventsPlugin.addEventListener(element:HTMLElement, eventName:string, handler:Function):Function',
|
||||||
'DomEventsPlugin.addGlobalEventListener(target:string, eventName:string, handler:Function):Function',
|
'DomEventsPlugin.addGlobalEventListener(target:string, eventName:string, handler:Function):Function',
|
||||||
|
@ -1509,6 +1534,7 @@ const PLATFORM_BROWSER = [
|
||||||
'DomSanitizationService.bypassSecurityTrustStyle(value:string):SafeStyle',
|
'DomSanitizationService.bypassSecurityTrustStyle(value:string):SafeStyle',
|
||||||
'DomSanitizationService.bypassSecurityTrustUrl(value:string):SafeUrl',
|
'DomSanitizationService.bypassSecurityTrustUrl(value:string):SafeUrl',
|
||||||
'DomSanitizationService.sanitize(context:SecurityContext, value:any):string',
|
'DomSanitizationService.sanitize(context:SecurityContext, value:any):string',
|
||||||
|
'enableDebugTools(ref:ComponentRef<T>):ComponentRef<T>',
|
||||||
'EventManager',
|
'EventManager',
|
||||||
'EventManager.addEventListener(element:HTMLElement, eventName:string, handler:Function):Function',
|
'EventManager.addEventListener(element:HTMLElement, eventName:string, handler:Function):Function',
|
||||||
'EventManager.addGlobalEventListener(target:string, eventName:string, handler:Function):Function',
|
'EventManager.addGlobalEventListener(target:string, eventName:string, handler:Function):Function',
|
||||||
|
@ -1522,6 +1548,7 @@ const PLATFORM_BROWSER = [
|
||||||
'HammerGestureConfig.buildHammer(element:HTMLElement):HammerInstance',
|
'HammerGestureConfig.buildHammer(element:HTMLElement):HammerInstance',
|
||||||
'HammerGestureConfig.events:string[]',
|
'HammerGestureConfig.events:string[]',
|
||||||
'HammerGestureConfig.overrides:{[key:string]:Object}',
|
'HammerGestureConfig.overrides:{[key:string]:Object}',
|
||||||
|
'initializeGenericWorkerRenderer(injector:Injector):any',
|
||||||
'KeyEventsPlugin',
|
'KeyEventsPlugin',
|
||||||
'KeyEventsPlugin.addEventListener(element:HTMLElement, eventName:string, handler:Function):Function',
|
'KeyEventsPlugin.addEventListener(element:HTMLElement, eventName:string, handler:Function):Function',
|
||||||
'KeyEventsPlugin.constructor()',
|
'KeyEventsPlugin.constructor()',
|
||||||
|
@ -1564,37 +1591,11 @@ const PLATFORM_BROWSER = [
|
||||||
'UiArguments.args?:FnArg[]',
|
'UiArguments.args?:FnArg[]',
|
||||||
'UiArguments.constructor(method:string, args?:FnArg[])',
|
'UiArguments.constructor(method:string, args?:FnArg[])',
|
||||||
'UiArguments.method:string',
|
'UiArguments.method:string',
|
||||||
|
'var SecurityContext:unknown',
|
||||||
'WebWorkerInstance',
|
'WebWorkerInstance',
|
||||||
'WebWorkerInstance.bus:MessageBus',
|
'WebWorkerInstance.bus:MessageBus',
|
||||||
'WebWorkerInstance.init(worker:Worker, bus:MessageBus):any',
|
'WebWorkerInstance.init(worker:Worker, bus:MessageBus):any',
|
||||||
'WebWorkerInstance.worker:Worker',
|
'WebWorkerInstance.worker:Worker',
|
||||||
'bootstrap(appComponentType:Type, customProviders?:Array<any>):Promise<ComponentRef<any>>',
|
|
||||||
'bootstrapApp(appComponentType:Type, customProviders?:Array<any>):Promise<ComponentRef<any>>',
|
|
||||||
'bootstrapRender(workerScriptUri:string, customProviders?:Array<any>):Promise<ApplicationRef>',
|
|
||||||
'browserPlatform():PlatformRef',
|
|
||||||
'const BROWSER_APP_COMPILER_PROVIDERS:Array<any>',
|
|
||||||
'const BROWSER_APP_PROVIDERS:Array<any>',
|
|
||||||
'const BROWSER_PLATFORM_PROVIDERS:Array<any>',
|
|
||||||
'const BROWSER_PROVIDERS:any[]',
|
|
||||||
'const BROWSER_SANITIZATION_PROVIDERS:Array<any>',
|
|
||||||
'const CACHED_TEMPLATE_PROVIDER:Array<any>',
|
|
||||||
'const DOCUMENT:OpaqueToken',
|
|
||||||
'const ELEMENT_PROBE_PROVIDERS:any[]',
|
|
||||||
'const EVENT_MANAGER_PLUGINS:OpaqueToken',
|
|
||||||
'const HAMMER_GESTURE_CONFIG:OpaqueToken',
|
|
||||||
'const PRIMITIVE:Type',
|
|
||||||
'const WORKER_APP_APPLICATION_PROVIDERS:Array<any>',
|
|
||||||
'const WORKER_APP_LOCATION_PROVIDERS:any',
|
|
||||||
'const WORKER_APP_PLATFORM_PROVIDERS:Array<any>',
|
|
||||||
'const WORKER_RENDER_APPLICATION_PROVIDERS:Array<any>',
|
|
||||||
'const WORKER_RENDER_LOCATION_PROVIDERS:any',
|
|
||||||
'const WORKER_RENDER_PLATFORM_PROVIDERS:Array<any>',
|
|
||||||
'const WORKER_RENDER_STARTABLE_MESSAGING_SERVICE:any',
|
|
||||||
'const WORKER_SCRIPT:OpaqueToken',
|
|
||||||
'disableDebugTools():void',
|
|
||||||
'enableDebugTools(ref:ComponentRef<T>):ComponentRef<T>',
|
|
||||||
'initializeGenericWorkerRenderer(injector:Injector):any',
|
|
||||||
'var SecurityContext:unknown',
|
|
||||||
'workerAppPlatform():PlatformRef',
|
'workerAppPlatform():PlatformRef',
|
||||||
'workerRenderPlatform():PlatformRef',
|
'workerRenderPlatform():PlatformRef',
|
||||||
];
|
];
|
||||||
|
@ -1612,9 +1613,17 @@ const PLATFORM_BROWSER_TESTING = [
|
||||||
'BrowserDetection.isWebkit:boolean',
|
'BrowserDetection.isWebkit:boolean',
|
||||||
'BrowserDetection.setup():any',
|
'BrowserDetection.setup():any',
|
||||||
'BrowserDetection.supportsIntlApi:boolean',
|
'BrowserDetection.supportsIntlApi:boolean',
|
||||||
|
'const ADDITIONAL_TEST_BROWSER_PROVIDERS:any',
|
||||||
|
'const ADDITIONAL_TEST_BROWSER_STATIC_PROVIDERS:Array<any>',
|
||||||
|
'const TEST_BROWSER_APPLICATION_PROVIDERS:Array<any>',
|
||||||
|
'const TEST_BROWSER_PLATFORM_PROVIDERS:Array<any>',
|
||||||
|
'const TEST_BROWSER_STATIC_APPLICATION_PROVIDERS:Array<any>',
|
||||||
|
'const TEST_BROWSER_STATIC_PLATFORM_PROVIDERS:Array<any>',
|
||||||
|
'dispatchEvent(element:any, eventType:any):void',
|
||||||
'DOMTestComponentRenderer',
|
'DOMTestComponentRenderer',
|
||||||
'DOMTestComponentRenderer.constructor(_doc:any)',
|
'DOMTestComponentRenderer.constructor(_doc:any)',
|
||||||
'DOMTestComponentRenderer.insertRootElement(rootElId:string):any',
|
'DOMTestComponentRenderer.insertRootElement(rootElId:string):any',
|
||||||
|
'el(html:string):HTMLElement',
|
||||||
'NgMatchers',
|
'NgMatchers',
|
||||||
'NgMatchers.not:NgMatchers',
|
'NgMatchers.not:NgMatchers',
|
||||||
'NgMatchers.toBeAnInstanceOf(expected:any):boolean',
|
'NgMatchers.toBeAnInstanceOf(expected:any):boolean',
|
||||||
|
@ -1626,14 +1635,6 @@ const PLATFORM_BROWSER_TESTING = [
|
||||||
'NgMatchers.toImplement(expected:any):boolean',
|
'NgMatchers.toImplement(expected:any):boolean',
|
||||||
'NgMatchers.toMatchPattern(expectedMessage:any):boolean',
|
'NgMatchers.toMatchPattern(expectedMessage:any):boolean',
|
||||||
'NgMatchers.toThrowErrorWith(expectedMessage:any):boolean',
|
'NgMatchers.toThrowErrorWith(expectedMessage:any):boolean',
|
||||||
'const ADDITIONAL_TEST_BROWSER_PROVIDERS:any',
|
|
||||||
'const ADDITIONAL_TEST_BROWSER_STATIC_PROVIDERS:Array<any>',
|
|
||||||
'const TEST_BROWSER_APPLICATION_PROVIDERS:Array<any>',
|
|
||||||
'const TEST_BROWSER_PLATFORM_PROVIDERS:Array<any>',
|
|
||||||
'const TEST_BROWSER_STATIC_APPLICATION_PROVIDERS:Array<any>',
|
|
||||||
'const TEST_BROWSER_STATIC_PLATFORM_PROVIDERS:Array<any>',
|
|
||||||
'dispatchEvent(element:any, eventType:any):void',
|
|
||||||
'el(html:string):HTMLElement',
|
|
||||||
'normalizeCSS(css:string):string',
|
'normalizeCSS(css:string):string',
|
||||||
'stringifyElement(el:any):string',
|
'stringifyElement(el:any):string',
|
||||||
'var browserDetection:BrowserDetection',
|
'var browserDetection:BrowserDetection',
|
||||||
|
@ -1653,8 +1654,8 @@ const PLATFORM_SERVER = [
|
||||||
'Parse5DomAdapter.adoptNode(node:any):any',
|
'Parse5DomAdapter.adoptNode(node:any):any',
|
||||||
'Parse5DomAdapter.animate(element:any, keyframes:any[], options:any):any',
|
'Parse5DomAdapter.animate(element:any, keyframes:any[], options:any):any',
|
||||||
'Parse5DomAdapter.appendChild(el:any, node:any):any',
|
'Parse5DomAdapter.appendChild(el:any, node:any):any',
|
||||||
'Parse5DomAdapter.attrToPropMap:any',
|
|
||||||
'Parse5DomAdapter.attributeMap(element:any):Map<string, string>',
|
'Parse5DomAdapter.attributeMap(element:any):Map<string, string>',
|
||||||
|
'Parse5DomAdapter.attrToPropMap:any',
|
||||||
'Parse5DomAdapter.cancelAnimationFrame(id:number):any',
|
'Parse5DomAdapter.cancelAnimationFrame(id:number):any',
|
||||||
'Parse5DomAdapter.childNodes(el:any):Node[]',
|
'Parse5DomAdapter.childNodes(el:any):Node[]',
|
||||||
'Parse5DomAdapter.childNodesAsList(el:any):any[]',
|
'Parse5DomAdapter.childNodesAsList(el:any):any[]',
|
||||||
|
@ -1792,6 +1793,10 @@ const HTTP = [
|
||||||
'Connection.response:any',
|
'Connection.response:any',
|
||||||
'ConnectionBackend',
|
'ConnectionBackend',
|
||||||
'ConnectionBackend.createConnection(request:any):Connection',
|
'ConnectionBackend.createConnection(request:any):Connection',
|
||||||
|
'const HTTP_BINDINGS:any',
|
||||||
|
'const HTTP_PROVIDERS:any[]',
|
||||||
|
'const JSON_BINDINGS:any',
|
||||||
|
'const JSONP_PROVIDERS:any[]',
|
||||||
'CookieXSRFStrategy',
|
'CookieXSRFStrategy',
|
||||||
'CookieXSRFStrategy.configureRequest(req:Request):any',
|
'CookieXSRFStrategy.configureRequest(req:Request):any',
|
||||||
'CookieXSRFStrategy.constructor(_cookieName:string=\'XSRF-TOKEN\', _headerName:string=\'X-XSRF-TOKEN\')',
|
'CookieXSRFStrategy.constructor(_cookieName:string=\'XSRF-TOKEN\', _headerName:string=\'X-XSRF-TOKEN\')',
|
||||||
|
@ -1820,15 +1825,16 @@ const HTTP = [
|
||||||
'Http.post(url:string, body:any, options?:RequestOptionsArgs):Observable<Response>',
|
'Http.post(url:string, body:any, options?:RequestOptionsArgs):Observable<Response>',
|
||||||
'Http.put(url:string, body:any, options?:RequestOptionsArgs):Observable<Response>',
|
'Http.put(url:string, body:any, options?:RequestOptionsArgs):Observable<Response>',
|
||||||
'Http.request(url:string|Request, options?:RequestOptionsArgs):Observable<Response>',
|
'Http.request(url:string|Request, options?:RequestOptionsArgs):Observable<Response>',
|
||||||
|
'httpFactory(xhrBackend:XHRBackend, requestOptions:RequestOptions):Http',
|
||||||
|
'Jsonp',
|
||||||
|
'Jsonp.constructor(backend:ConnectionBackend, defaultOptions:RequestOptions)',
|
||||||
|
'Jsonp.request(url:string|Request, options?:RequestOptionsArgs):Observable<Response>',
|
||||||
'JSONPBackend',
|
'JSONPBackend',
|
||||||
'JSONPConnection',
|
'JSONPConnection',
|
||||||
'JSONPConnection.finished(data?:any):void',
|
'JSONPConnection.finished(data?:any):void',
|
||||||
'JSONPConnection.readyState:ReadyState',
|
'JSONPConnection.readyState:ReadyState',
|
||||||
'JSONPConnection.request:Request',
|
'JSONPConnection.request:Request',
|
||||||
'JSONPConnection.response:Observable<Response>',
|
'JSONPConnection.response:Observable<Response>',
|
||||||
'Jsonp',
|
|
||||||
'Jsonp.constructor(backend:ConnectionBackend, defaultOptions:RequestOptions)',
|
|
||||||
'Jsonp.request(url:string|Request, options?:RequestOptionsArgs):Observable<Response>',
|
|
||||||
'ReadyState',
|
'ReadyState',
|
||||||
'ReadyState.Cancelled',
|
'ReadyState.Cancelled',
|
||||||
'ReadyState.Done',
|
'ReadyState.Done',
|
||||||
|
@ -1928,10 +1934,6 @@ const HTTP = [
|
||||||
'XHRConnection.setDetectedContentType(req:any, _xhr:any):any',
|
'XHRConnection.setDetectedContentType(req:any, _xhr:any):any',
|
||||||
'XSRFStrategy',
|
'XSRFStrategy',
|
||||||
'XSRFStrategy.configureRequest(req:Request):void',
|
'XSRFStrategy.configureRequest(req:Request):void',
|
||||||
'const HTTP_BINDINGS:any',
|
|
||||||
'const HTTP_PROVIDERS:any[]',
|
|
||||||
'const JSONP_PROVIDERS:any[]',
|
|
||||||
'const JSON_BINDINGS:any',
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const HTTP_TESTING = [
|
const HTTP_TESTING = [
|
||||||
|
@ -1953,7 +1955,7 @@ const HTTP_TESTING = [
|
||||||
'MockConnection.request:Request',
|
'MockConnection.request:Request',
|
||||||
'MockConnection.response:ReplaySubject<Response>',
|
'MockConnection.response:ReplaySubject<Response>',
|
||||||
];
|
];
|
||||||
|
/* clang-format on */
|
||||||
|
|
||||||
describe('public API', () => {
|
describe('public API', () => {
|
||||||
check('@angular/core/index.ts', CORE);
|
check('@angular/core/index.ts', CORE);
|
||||||
|
@ -1978,15 +1980,16 @@ function check(file: string, expected: string[]) {
|
||||||
|
|
||||||
function checkPublicApi(file: string, expected: string[]) {
|
function checkPublicApi(file: string, expected: string[]) {
|
||||||
const sortedActual = publicApi('modules/' + file).sort();
|
const sortedActual = publicApi('modules/' + file).sort();
|
||||||
const sortedExpected = expected.slice().sort();
|
const sortedExpected = expected.slice().sort((a: string, b: string) => a.localeCompare(b));
|
||||||
|
|
||||||
const unsorted = expected.find((element, index) => element !== sortedExpected[index]);
|
const unsorted = expected.find((element, index) => element !== sortedExpected[index]);
|
||||||
const missing = sortedActual.filter((i) => sortedExpected.indexOf(i) < 0);
|
const missing = sortedActual.filter((i) => sortedExpected.indexOf(i) < 0);
|
||||||
const extra = sortedExpected.filter((i) => sortedActual.indexOf(i) < 0);
|
const extra = sortedExpected.filter((i) => sortedActual.indexOf(i) < 0);
|
||||||
|
|
||||||
// console.log(sortedActual.join('\',\n \''));
|
// console.log(sortedActual.join('\',\n \''));
|
||||||
if (unsorted) {
|
if (unsorted) {
|
||||||
fail(`The array of expected APIs is incorrectly sorted starting at element:\n ${unsorted}`);
|
fail(
|
||||||
|
`The array of expected APIs is incorrectly sorted starting at element:\n ${unsorted}` +
|
||||||
|
`\n\nexpected: ${sortedActual.join("\n")}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue