Get dynamic amount of params in Query GraphQL + NESTJS

I want to filter data in graphql but a dynamic amount of params.
how can I do it?

  @Query((returns) => [Car])
  async getCarsByFilter() {
      console.log( filters);
  }

This is the code I wrote already but I don’t know how to put a dynamic amount of params in NESTJS