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

How can I unsubscribe from an 'any' 'var' observable in Angular when the component is...

Discussão em 'Angular' iniciado por Alex Rodriguez, Maio 23, 2025.

  1. Consider:

    @Input()
    var:any;


    var is passed as an observable, but I'm getting a "var.unsubscribe() is not a function" when ngDestroyed is called.

    I tried var.unsubscribe(), and it is not working.

    Continue reading...

Compartilhe esta Página