File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
packages/common/src/pipes Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -83,20 +83,20 @@ import {invalidPipeArgumentError} from './invalid_pipe_argument_error';
8383export class DecimalPipe implements PipeTransform {
8484 constructor ( @Inject ( LOCALE_ID ) private _locale : string ) { }
8585
86- transform ( value : number | string , digitsInfo ?: string , locale ?: string ) : string | null ;
87- transform ( value : null | undefined , digitsInfo ?: string , locale ?: string ) : null ;
88- transform (
89- value : number | string | null | undefined ,
90- digitsInfo ?: string ,
91- locale ?: string ,
92- ) : string | null ;
9386 /**
9487 * @param value The value to be formatted.
9588 * @param digitsInfo Sets digit and decimal representation.
9689 * [See more](#digitsinfo).
9790 * @param locale Specifies what locale format rules to use.
9891 * [See more](#locale).
9992 */
93+ transform ( value : number | string , digitsInfo ?: string , locale ?: string ) : string | null ;
94+ transform ( value : null | undefined , digitsInfo ?: string , locale ?: string ) : null ;
95+ transform (
96+ value : number | string | null | undefined ,
97+ digitsInfo ?: string ,
98+ locale ?: string ,
99+ ) : string | null ;
100100 transform (
101101 value : number | string | null | undefined ,
102102 digitsInfo ?: string ,
You can’t perform that action at this time.
0 commit comments