1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

My error : error TS2554: Expected 1 arguments, but got 0 . And this: An argument for 'params'...

Discussão em 'Angular' iniciado por Shumkarbek, Setembro 28, 2024.

  1. Shumkarbek

    Shumkarbek Guest

    customer-list.component.ts

    onLoadCustomers() { const customersReq = this.customerService.getCustomers()

    customer.servise.ts

    getCustomers(params: any): Observable { return this.http.post(${this.api}api/v1/customers/query, params) }

    Continue reading...

Compartilhe esta Página