Ustaw czas na 30 sekund dla OTP w TypeScript

  countdown() {

    let thisRef=this;
    setInterval(function () {
      thisRef.timeLeft--;
    thisRef.ChangeDetectorRef.detectChanges();

    }, 1000);
  }
Mohan Eswar