Provide CustomPipe instead of CurrencyPipe

Discussão em 'Angular' iniciado por Herman Vasilkouski, Janeiro 8, 2025.

  1. I want to provide CustomPipe instead of CurrencyPipe. Expected to import and use default CurrencyPipe, but it will use CustomPipe instead of it. I use this provider

    {
    provide: CurrencyPipe,
    useClass: CustomPipe,
    }


    But app use default CurrencyPipe

    Expecting to transform currency using CustomPipe, but using default CurrencyPipe import

    Continue reading...

Compartilhe esta Página