NgRx ComponentStore Effect Without Parameters

// name.store.ts
readonly getAllData = this.effect<void>((trigger$) =>
  trigger$.pipe(
    switchMap(() => {
      const params = {};

      this.setLoading(true);
      return this.nameService.getList(params).pipe(
        tapResponse(
          (result) => {
            this.setLoading(false);
            this.setData(result.data);
          },
          (e: HttpErrorResponse) => {
            this.toastr.error(e.message, 'Name');
          },
        ),
      );
    }),
  ),
);