refactor: correct api modifier flags
This commit is contained in:
parent
a5a422f8e7
commit
70d944a59c
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import {Injectable, PipeTransform, WrappedValue, Pipe} from '@angular/core';
|
||||
import {PipeTransform, Pipe} from '@angular/core';
|
||||
|
||||
import {
|
||||
isNumber,
|
||||
|
|
Loading…
Reference in New Issue