0

I am trying to pass multiple parameter in angular 12 pipes but unfortunately its giving below error

Error: src/app/app.component.html:3:32 - error TS2339: Property 'xyz' does not exist on type 'AppComponent'.

below is my ts code

  transform(currency: any, value: any, args: any, ): unknown {
    
    return "Your value is " + value + "your x value is" + args + "and your curr value is" + currency;
  }

my html code is

<h1>{{20 | usdPkr: abc : def : xyz }}</h1>
Atif Azad
  • 697
  • 2
  • 9
  • 21

0 Answers0