title: error TS2554: Expected 1 arguments, but got 0
body: <p>how to solve this problem anybody help me.</p>
  
  <p>using Angular 5</p>
  
  <p>My angular method:   </p>
  
  <p>list.component.ts file</p>
  
  <pre><code> ngOnInit() {
         this.getUserdata(1);
        }
  
        getUserdata(event){
          this.userService.getUsers(event).then( users =&gt; {
                  this.users = users;
        },
            (error)=&gt;{
              return false;
            }
        );
        }
  </code></pre>
  
  <p>user.service.ts file</p>
  
  <pre><code> getUsers(page:Number):Promise&lt;User[]&gt;{
       let currentUser = JSON.parse(localStorage.getItem('currentUser'));
      let headers = new Headers({ 'Authorization': `Bearer ${currentUser.token}` });
  
      let options = new RequestOptions({ headers: headers });
  
      return this.http.get(`${environment.apiEndPoint}/api/users/${page}`, options)
       .toPromise()
       .then(res=&gt;res.json())
       //.catch(this.errorservice.handleError);
       .catch((error) =&gt; {
          //return Promise.reject(error);
         return  this.router.navigate(['/login']);
        })
  }
  </code></pre>
  
  <p>when I send param then show error how can I solve it.</p>
  
  <p>error TS2554: Expected 1 arguments, but got 0.</p>