Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ export class MyCounterComponent implements OnChanges {
}
}

/***************************************/

@Component({
selector: 'counter-parent',
template: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ export class DoCheckComponent implements DoCheck {
}
}

/***************************************/

@Component({
selector: 'do-check-parent',
templateUrl: './do-check-parent.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ export class OnChangesComponent implements OnChanges {
reset() { this.changeLog = []; }
}

/***************************************/

@Component({
selector: 'on-changes-parent',
templateUrl: './on-changes-parent.component.html',
Expand Down
3 changes: 0 additions & 3 deletions packages/animations/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,4 @@ export class Version {
}
}

/**
*
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');
3 changes: 0 additions & 3 deletions packages/common/http/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ function addBody<T>(
};
}

/**
*
*/
export type HttpObserve = 'body' | 'events' | 'response';

/**
Expand Down
3 changes: 0 additions & 3 deletions packages/common/src/directives/ng_for_of.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@

import {ChangeDetectorRef, Directive, DoCheck, EmbeddedViewRef, Input, IterableChangeRecord, IterableChanges, IterableDiffer, IterableDiffers, NgIterable, OnChanges, SimpleChanges, TemplateRef, TrackByFunction, ViewContainerRef, forwardRef, isDevMode} from '@angular/core';

/**
*
*/
export class NgForOfContext<T> {
constructor(
public $implicit: T, public ngForOf: NgIterable<T>, public index: number,
Expand Down
3 changes: 0 additions & 3 deletions packages/common/src/directives/ng_if.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@ export class NgIf {
public static ngIfUseIfTypeGuard: void;
}

/**
*
*/
export class NgIfContext {
public $implicit: any = null;
public ngIf: any = null;
Expand Down
4 changes: 1 addition & 3 deletions packages/common/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@
*/

import {Version} from '@angular/core';
/**
*
*/

export const VERSION = new Version('0.0.0-PLACEHOLDER');
4 changes: 1 addition & 3 deletions packages/compiler-cli/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@
*/

import {Version} from '@angular/compiler';
/**
*
*/

export const VERSION = new Version('0.0.0-PLACEHOLDER');
4 changes: 1 addition & 3 deletions packages/compiler/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@
*/

import {Version} from './util';
/**
*
*/

export const VERSION = new Version('0.0.0-PLACEHOLDER');
3 changes: 0 additions & 3 deletions packages/core/src/change_detection/change_detector_ref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.io/license
*/

/**
*
*/
export abstract class ChangeDetectorRef {
/**
* Marks a view and all of its ancestors dirty.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -557,9 +557,6 @@ export class DefaultIterableDiffer<V> implements IterableDiffer<V>, IterableChan
}
}

/**
*
*/
export class IterableChangeRecord_<V> implements IterableChangeRecord<V> {
currentIndex: number|null = null;
previousIndex: number|null = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,6 @@ export class DefaultKeyValueDiffer<K, V> implements KeyValueDiffer<K, V>, KeyVal
}
}


/**
*
*/
class KeyValueChangeRecord_<K, V> implements KeyValueChangeRecord<K, V> {
previousValue: V|null = null;
currentValue: V|null = null;
Expand Down
3 changes: 0 additions & 3 deletions packages/core/src/linker/component_factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ export abstract class ComponentRef<C> {
abstract onDestroy(callback: Function): void;
}

/**
*
*/
export abstract class ComponentFactory<C> {
abstract get selector(): string;
abstract get componentType(): Type<any>;
Expand Down
3 changes: 0 additions & 3 deletions packages/core/src/linker/component_factory_resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ class _NullComponentFactoryResolver implements ComponentFactoryResolver {
}
}

/**
*
*/
export abstract class ComponentFactoryResolver {
static NULL: ComponentFactoryResolver = new _NullComponentFactoryResolver();
abstract resolveComponentFactory<T>(component: Type<T>): ComponentFactory<T>;
Expand Down
4 changes: 0 additions & 4 deletions packages/core/src/linker/view_ref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
import {ApplicationRef} from '../application_ref';
import {ChangeDetectorRef} from '../change_detection/change_detector_ref';


/**
*
*/
export abstract class ViewRef extends ChangeDetectorRef {
/**
* Destroys the view and all of the data structures associated with it.
Expand Down
3 changes: 0 additions & 3 deletions packages/core/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,4 @@ export class Version {
}
}

/**
*
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ describe('injection', () => {
return new MyApp(
$r3$.ɵdirectiveInject(ServiceA), $r3$.ɵdirectiveInject(ServiceB), inject(INJECTOR));
},
/** */
template: function MyApp_Template(rf: $RenderFlags$, ctx: $MyApp$) {},
providers: [ServiceA],
viewProviders: [ServiceB],
Expand Down
6 changes: 0 additions & 6 deletions packages/forms/src/directives/validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,8 @@ export class EmailValidator implements Validator {
registerOnValidatorChange(fn: () => void): void { this._onChange = fn; }
}

/**
*
*/
export interface ValidatorFn { (c: AbstractControl): ValidationErrors|null; }

/**
*
*/
export interface AsyncValidatorFn {
(c: AbstractControl): Promise<ValidationErrors|null>|Observable<ValidationErrors|null>;
}
Expand Down
4 changes: 1 addition & 3 deletions packages/forms/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@
*/

import {Version} from '@angular/core';
/**
*
*/

export const VERSION = new Version('0.0.0-PLACEHOLDER');
4 changes: 1 addition & 3 deletions packages/language-service/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@
*/

import {Version} from '@angular/core';
/**
*
*/

export const VERSION = new Version('0.0.0-PLACEHOLDER');
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@ export {JitCompilerFactory} from './compiler_factory';
export const RESOURCE_CACHE_PROVIDER: Provider[] =
[{provide: ResourceLoader, useClass: CachedResourceLoader, deps: []}];

/**
*
*/
export const platformBrowserDynamic = createPlatformFactory(
platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);
4 changes: 1 addition & 3 deletions packages/platform-browser-dynamic/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@
*/

import {Version} from '@angular/core';
/**
*
*/

export const VERSION = new Version('0.0.0-PLACEHOLDER');
3 changes: 0 additions & 3 deletions packages/platform-browser-dynamic/testing/src/testing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ import {platformCoreDynamicTesting} from './platform_core_dynamic_testing';

export * from './private_export_testing';

/**
*
*/
export const platformBrowserDynamicTesting = createPlatformFactory(
platformCoreDynamicTesting, 'browserDynamicTesting',
INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);
Expand Down
3 changes: 0 additions & 3 deletions packages/platform-browser/src/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ export const BROWSER_SANITIZATION_PROVIDERS: StaticProvider[] = [
{provide: DomSanitizer, useClass: DomSanitizerImpl, deps: [DOCUMENT]},
];

/**
*
*/
export const platformBrowser: (extraProviders?: StaticProvider[]) => PlatformRef =
createPlatformFactory(platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);

Expand Down
6 changes: 0 additions & 6 deletions packages/platform-browser/src/dom/events/event_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,9 @@ import {Inject, Injectable, InjectionToken, NgZone} from '@angular/core';

import {getDOM} from '../dom_adapter';

/**
*
*/
export const EVENT_MANAGER_PLUGINS =
new InjectionToken<EventManagerPlugin[]>('EventManagerPlugins');

/**
*
*/
@Injectable()
export class EventManager {
private _plugins: EventManagerPlugin[];
Expand Down
4 changes: 1 addition & 3 deletions packages/platform-browser/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@
*/

import {Version} from '@angular/core';
/**
*
*/

export const VERSION = new Version('0.0.0-PLACEHOLDER');
4 changes: 1 addition & 3 deletions packages/platform-server/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@
*/

import {Version} from '@angular/core';
/**
*
*/

export const VERSION = new Version('0.0.0-PLACEHOLDER');
4 changes: 1 addition & 3 deletions packages/platform-webworker-dynamic/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@
*/

import {Version} from '@angular/core';
/**
*
*/

export const VERSION = new Version('0.0.0-PLACEHOLDER');
4 changes: 1 addition & 3 deletions packages/platform-webworker/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@
*/

import {Version} from '@angular/core';
/**
*
*/

export const VERSION = new Version('0.0.0-PLACEHOLDER');
4 changes: 1 addition & 3 deletions packages/router/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@
*/

import {Version} from '@angular/core';
/**
*
*/

export const VERSION = new Version('0.0.0-PLACEHOLDER');
4 changes: 1 addition & 3 deletions packages/upgrade/src/common/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@
*/

import {Version} from '@angular/core';
/**
*
*/

export const VERSION = new Version('0.0.0-PLACEHOLDER');