docs(fix-docgen): Fix docgen issues with some recent updates to core

This commit is contained in:
Naomi Black 2015-08-02 23:40:18 -07:00
parent be79942ebd
commit 209aefee57
2 changed files with 11 additions and 8 deletions

View File

@ -6,28 +6,32 @@ import {global} from 'angular2/src/facade/lang';
// https://github.com/systemjs/systemjs/issues/487 gets closed. // https://github.com/systemjs/systemjs/issues/487 gets closed.
var __ignore_me = global; var __ignore_me = global;
/** /**
* Defines lifecycle method [onChange] called after all of component's bound * Defines lifecycle method {@link annotations/LifeCycleEvent#onChange `LifeCycleEvent.onChange`}
* properties are updated. * called after all of component's bound properties are updated.
*/ */
export interface OnChange { onChange(changes: StringMap<string, any>): void; } export interface OnChange { onChange(changes: StringMap<string, any>): void; }
/** /**
* Defines lifecycle method [onDestroy] called when a directive is being destroyed. * Defines lifecycle method {@link annotations/LifeCycleEvent#onDestroy `LifeCycleEvent.onDestroy`}
* called when a directive is being destroyed.
*/ */
export interface OnDestroy { onDestroy(): void; } export interface OnDestroy { onDestroy(): void; }
/** /**
* Defines lifecycle method [onCheck] called when a directive is being checked. * Defines lifecycle method {@link annotations/LifeCycleEvent#onCheck `LifeCycleEvent.onCheck`}
* called when a directive is being checked.
*/ */
export interface OnCheck { onCheck(): void; } export interface OnCheck { onCheck(): void; }
/** /**
* Defines lifecycle method [onInit] called when a directive is being checked the first time. * Defines lifecycle method {@link annotations/LifeCycleEvent#onInit `LifeCycleEvent.onInit`}
* called when a directive is being checked the first time.
*/ */
export interface OnInit { onInit(): void; } export interface OnInit { onInit(): void; }
/** /**
* Defines lifecycle method [onAllChangesDone ] called when the bindings of all its children have * Defines lifecycle method
* been changed. * {@link annotations/LifeCycleEvent#onAllChangesDone `LifeCycleEvent.onAllChangesDone`}
* called when the bindings of all its children have been changed.
*/ */
export interface OnAllChangesDone { onAllChangesDone(): void; } export interface OnAllChangesDone { onAllChangesDone(): void; }

View File

@ -159,7 +159,6 @@ export class SkipSelfMetadata {
* var nd = grandChild.get(NeedsDependency); * var nd = grandChild.get(NeedsDependency);
* expect(nd.dependency).toBeAnInstanceOf(HostDependency); * expect(nd.dependency).toBeAnInstanceOf(HostDependency);
* ``` * ```
* ```
*/ */
@CONST() @CONST()
export class HostMetadata { export class HostMetadata {