refactor: correct api modifier flags

This commit is contained in:
Igor Minar 2016-05-27 12:20:45 -07:00
parent a5a422f8e7
commit 70d944a59c
3 changed files with 5 additions and 4 deletions

View File

@ -74,9 +74,10 @@ export class AsyncPipe implements OnDestroy {
_subscription: Object = null;
/** @internal */
_obj: Observable<any>| Promise<any>| EventEmitter<any> = null;
private _strategy: SubscriptionStrategy = null;
/** @internal */
public _ref: ChangeDetectorRef;
_ref: ChangeDetectorRef;
private _strategy: SubscriptionStrategy = null;
constructor(_ref: ChangeDetectorRef) { this._ref = _ref; }
ngOnDestroy(): void {

View File

@ -118,7 +118,7 @@ export class DatePipe implements PipeTransform {
return DateFormatter.format(value, defaultLocale, pattern);
}
supports(obj: any): boolean {
private supports(obj: any): boolean {
if (isDate(obj) || isNumber(obj)) {
return true;
}

View File

@ -1,4 +1,4 @@
import {Injectable, PipeTransform, WrappedValue, Pipe} from '@angular/core';
import {PipeTransform, Pipe} from '@angular/core';
import {
isNumber,