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

@ -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;
}