Skip to content

Commit a36744e

Browse files
vladboisaAndrewKushnir
authored andcommitted
docs: move JSDoc before functions (angular#58087)
Move the JSDoc before functions for correct view of params PR Close angular#58087
1 parent bb0edad commit a36744e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/common/src/pipes/number_pipe.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,20 +83,20 @@ import {invalidPipeArgumentError} from './invalid_pipe_argument_error';
8383
export 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,

0 commit comments

Comments
 (0)