Skip to content

Commit

Permalink
refactor(common): simplify i18n plural and select pipe metadata (#53939)
Browse files Browse the repository at this point in the history
Remove pure property from pipe decorator

PR Close #53939
  • Loading branch information
kabrunko-dev authored and thePunderWoman committed Jan 30, 2024
1 parent 3c881ac commit f3567bb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/common/src/pipes/i18n_plural_pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const _INTERPOLATION_REGEXP: RegExp = /#/g;
*/
@Pipe({
name: 'i18nPlural',
pure: true,
standalone: true,
})
export class I18nPluralPipe implements PipeTransform {
Expand Down
1 change: 0 additions & 1 deletion packages/common/src/pipes/i18n_select_pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import {invalidPipeArgumentError} from './invalid_pipe_argument_error';
*/
@Pipe({
name: 'i18nSelect',
pure: true,
standalone: true,
})
export class I18nSelectPipe implements PipeTransform {
Expand Down

0 comments on commit f3567bb

Please sign in to comment.