here's the code:
async ngOnInit() {
    @Select(UserPageState.get('collection')) users$: BehaviorSubject<Array<Partial<User>>>;
    const USER = this.creds.credentials['id'];
    this.users$.subscribe(param => this.users$.next(param.filter(x => x.id !== USER)));
    await this.store.dispatch(new UserPageList({ start: 1, length: this.pageSize })).toPromise();
    }
ERROR
ERROR TypeError: _this.users$.next is not a function
    at SafeSubscriber._next
user.ts
  username: string;
  password?: string;
  token: string;
  avatar: string;
  firstName: string;
  lastName: string;
  email: string;
  department: string;
  position: string;
  role: string;
  status: string;
  enabled: boolean;
  groups: Array<Group>;
  location: Array<Sbu>;
every time i run the application the error is always next is not a function. and i tried to change the behavioursubject to BehaviorSubject(Array>);
and all my code is error.
 
     
    