title: TypeScript - what type is f.e. setInterval
body: <p>If I'd like to assign a type to a variable that will later be assigned a setInterval like so:</p>
  
  <pre><code>this.autoSaveInterval = setInterval(function(){
        if(this.car.id){
          this.save();
        }
        else{
          this.create();
        }
      }.bind(this), 50000);
  </code></pre>
  
  <p>What type should be assigned to this.autosaveInterval vairable?</p>