fix(i18n): Currency/Date/Number pipe use injected locale (#11093)
This commit is contained in:
4
tools/public_api_guard/common/index.d.ts
vendored
4
tools/public_api_guard/common/index.d.ts
vendored
@ -14,16 +14,19 @@ export declare class CommonModule {
|
||||
|
||||
/** @stable */
|
||||
export declare class CurrencyPipe implements PipeTransform {
|
||||
constructor(_locale: string);
|
||||
transform(value: any, currencyCode?: string, symbolDisplay?: boolean, digits?: string): string;
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare class DatePipe implements PipeTransform {
|
||||
constructor(_locale: string);
|
||||
transform(value: any, pattern?: string): string;
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare class DecimalPipe implements PipeTransform {
|
||||
constructor(_locale: string);
|
||||
transform(value: any, digits?: string): string;
|
||||
}
|
||||
|
||||
@ -196,6 +199,7 @@ export declare class PathLocationStrategy extends LocationStrategy {
|
||||
|
||||
/** @stable */
|
||||
export declare class PercentPipe implements PipeTransform {
|
||||
constructor(_locale: string);
|
||||
transform(value: any, digits?: string): string;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user