/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { PipeTransform } from '@angular/core'; import { NgLocalization } from '../localization'; /** * Maps a value to a string that pluralizes the value properly. * * ## Usage * * expression | i18nPlural:mapping * * where `expression` is a number and `mapping` is an object that mimics the ICU format, * see http://userguide.icu-project.org/formatparse/messages * * ## Example * * ``` *