docs(core): update dts file
This commit is contained in:
		
							parent
							
								
									e33037a2f1
								
							
						
					
					
						commit
						42f60ca303
					
				| @ -19,7 +19,7 @@ import {Type} from './type'; | |||||||
| import {TypeDecorator, makeParamDecorator, makePropDecorator} from './util/decorators'; | import {TypeDecorator, makeParamDecorator, makePropDecorator} from './util/decorators'; | ||||||
| 
 | 
 | ||||||
| export {ANALYZE_FOR_ENTRY_COMPONENTS, Attribute, ContentChild, ContentChildDecorator, ContentChildren, ContentChildrenDecorator, Query, ViewChild, ViewChildDecorator, ViewChildren, ViewChildrenDecorator} from './metadata/di'; | export {ANALYZE_FOR_ENTRY_COMPONENTS, Attribute, ContentChild, ContentChildDecorator, ContentChildren, ContentChildrenDecorator, Query, ViewChild, ViewChildDecorator, ViewChildren, ViewChildrenDecorator} from './metadata/di'; | ||||||
| export {Component, Directive, DirectiveDecorator, ComponentDecorator, HostBinding, HostListener, Input, Output, Pipe} from './metadata/directives'; | export {Component, ComponentDecorator, Directive, DirectiveDecorator, HostBinding, HostListener, Input, Output, Pipe} from './metadata/directives'; | ||||||
| export {AfterContentChecked, AfterContentInit, AfterViewChecked, AfterViewInit, DoCheck, OnChanges, OnDestroy, OnInit} from './metadata/lifecycle_hooks'; | export {AfterContentChecked, AfterContentInit, AfterViewChecked, AfterViewInit, DoCheck, OnChanges, OnDestroy, OnInit} from './metadata/lifecycle_hooks'; | ||||||
| export {CUSTOM_ELEMENTS_SCHEMA, ModuleWithProviders, NO_ERRORS_SCHEMA, NgModule, SchemaMetadata} from './metadata/ng_module'; | export {CUSTOM_ELEMENTS_SCHEMA, ModuleWithProviders, NO_ERRORS_SCHEMA, NgModule, SchemaMetadata} from './metadata/ng_module'; | ||||||
| export {ViewEncapsulation} from './metadata/view'; | export {ViewEncapsulation} from './metadata/view'; | ||||||
|  | |||||||
| @ -56,14 +56,15 @@ export interface DirectiveDecorator { | |||||||
|    * |    * | ||||||
|    * **Metadata Properties:** |    * **Metadata Properties:** | ||||||
|    * |    * | ||||||
|    * **exportAs** - name under which the component instance is exported in a template |    * * **exportAs** - name under which the component instance is exported in a template | ||||||
|    * **host** - map of class property to host element bindings for events, properties and attributes |    * * **host** - map of class property to host element bindings for events, properties and | ||||||
|    * **inputs** - list of class property names to data-bind as component inputs |    * attributes | ||||||
|    * **outputs** - list of class property names that expose output events that others can subscribe |    * * **inputs** - list of class property names to data-bind as component inputs | ||||||
|    * to |    * * **outputs** - list of class property names that expose output events that others can | ||||||
|    * **providers** - list of providers available to this component and its children |    * subscribe to | ||||||
|    * **queries** -  configure queries that can be injected into the component |    * * **providers** - list of providers available to this component and its children | ||||||
|    * **selector** - css selector that identifies this component in a template |    * * **queries** -  configure queries that can be injected into the component | ||||||
|  |    * * **selector** - css selector that identifies this component in a template | ||||||
|    * |    * | ||||||
|    * @stable |    * @stable | ||||||
|    * @Annotation |    * @Annotation | ||||||
| @ -422,16 +423,7 @@ export interface ComponentDecorator { | |||||||
|    * |    * | ||||||
|    * @howToUse |    * @howToUse | ||||||
|    * |    * | ||||||
|    * ``` |    * {@example core/ts/metadata/metadata.ts region='component'} | ||||||
|    * import {Component} from '@angular/core'; |  | ||||||
|    * |  | ||||||
|    * @Component({ |  | ||||||
|    *   selector: 'my-component', |  | ||||||
|    *   templateUrl: 'myComponent.html' |  | ||||||
|    * }) |  | ||||||
|    * export class MyComponent { |  | ||||||
|    * } |  | ||||||
|    * ``` |  | ||||||
|    * |    * | ||||||
|    * @description |    * @description | ||||||
|    * Component decorator allows you to mark a class as an Angular component and provide additional |    * Component decorator allows you to mark a class as an Angular component and provide additional | ||||||
| @ -452,26 +444,27 @@ export interface ComponentDecorator { | |||||||
|    * |    * | ||||||
|    * **Metadata Properties:** |    * **Metadata Properties:** | ||||||
|    * |    * | ||||||
|    * **animations** - list of animations of this component |    * * **animations** - list of animations of this component | ||||||
|    * **changeDetection** - change detection strategy used by this component |    * * **changeDetection** - change detection strategy used by this component | ||||||
|    * **encapsulation** - style encapsulation strategy used by this component |    * * **encapsulation** - style encapsulation strategy used by this component | ||||||
|    * **entryComponents** - list of components that are dynamically inserted into the view of this |    * * **entryComponents** - list of components that are dynamically inserted into the view of this | ||||||
|    * component |    * component | ||||||
|    * **exportAs** - name under which the component instance is exported in a template |    * * **exportAs** - name under which the component instance is exported in a template | ||||||
|    * **host** - map of class property to host element bindings for events, properties and attributes |    * * **host** - map of class property to host element bindings for events, properties and | ||||||
|    * **inputs** - list of class property names to data-bind as component inputs |    * attributes | ||||||
|    * **interpolation** - custom interpolation markers used in this component's template |    * * **inputs** - list of class property names to data-bind as component inputs | ||||||
|    * **moduleId** - ES/CommonJS module id of the file in which this component is defined |    * * **interpolation** - custom interpolation markers used in this component's template | ||||||
|    * **outputs** - list of class property names that expose output events that others can subscribe |    * * **moduleId** - ES/CommonJS module id of the file in which this component is defined | ||||||
|    * to |    * * **outputs** - list of class property names that expose output events that others can | ||||||
|    * **providers** - list of providers available to this component and its children |    * subscribe to | ||||||
|    * **queries** -  configure queries that can be injected into the component |    * * **providers** - list of providers available to this component and its children | ||||||
|    * **selector** - css selector that identifies this component in a template |    * * **queries** -  configure queries that can be injected into the component | ||||||
|    * **styleUrls** - list of urls to stylesheets to be applied to this component's view |    * * **selector** - css selector that identifies this component in a template | ||||||
|    * **styles** - inline-defined styles to be applied to this component's view |    * * **styleUrls** - list of urls to stylesheets to be applied to this component's view | ||||||
|    * **template** - inline-defined template for the view |    * * **styles** - inline-defined styles to be applied to this component's view | ||||||
|    * **templateUrl** - url to an external file containing a template for the view |    * * **template** - inline-defined template for the view | ||||||
|    * **viewProviders** - list of providers available to this component and its view children |    * * **templateUrl** - url to an external file containing a template for the view | ||||||
|  |    * * **viewProviders** - list of providers available to this component and its view children | ||||||
|    * |    * | ||||||
|    * ### Example |    * ### Example | ||||||
|    * |    * | ||||||
|  | |||||||
							
								
								
									
										12
									
								
								tools/public_api_guard/core/index.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								tools/public_api_guard/core/index.d.ts
									
									
									
									
										vendored
									
									
								
							| @ -235,6 +235,12 @@ export declare type CompilerOptions = { | |||||||
| /** @stable */ | /** @stable */ | ||||||
| export declare const Component: ComponentDecorator; | export declare const Component: ComponentDecorator; | ||||||
| 
 | 
 | ||||||
|  | /** @stable */ | ||||||
|  | export interface ComponentDecorator { | ||||||
|  |     /** @stable */ (obj: Component): TypeDecorator; | ||||||
|  |     new (obj: Component): Component; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| /** @stable */ | /** @stable */ | ||||||
| export declare class ComponentFactory<C> { | export declare class ComponentFactory<C> { | ||||||
|     componentType: Type<any>; |     componentType: Type<any>; | ||||||
| @ -367,6 +373,12 @@ export declare function destroyPlatform(): void; | |||||||
| /** @stable */ | /** @stable */ | ||||||
| export declare const Directive: DirectiveDecorator; | export declare const Directive: DirectiveDecorator; | ||||||
| 
 | 
 | ||||||
|  | /** @stable */ | ||||||
|  | export interface DirectiveDecorator { | ||||||
|  |     /** @stable */ (obj: Directive): TypeDecorator; | ||||||
|  |     new (obj: Directive): Directive; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| /** @stable */ | /** @stable */ | ||||||
| export declare abstract class DoCheck { | export declare abstract class DoCheck { | ||||||
|     abstract ngDoCheck(): void; |     abstract ngDoCheck(): void; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user