title: TypeScript () => void lambda function, understanding
body: <p>I'm sitting and reading on some typescript code for Promises/A+ to get a better understanding on the inner workings.</p>
  
  <p>I have hit a line i can't really understand.</p>
  
  <pre><code>static nextTickFn: (setTimeoutOrSimilarFn: Function, caller: Promise) =&gt; void = (setTimeoutOrSimilarFn: Function) =&gt; setTimeout(setTimeoutOrSimilarFn, 0);
  </code></pre>
  
  <p>So how does it work with the <code>(v: F, c: P) =&gt; void</code> work?
  and how about when you add the equal <code>(v: F, c: P) =&gt; void = (v: F) =&gt; {}</code> after like that?</p>
  
  <p>Basically I think the <code>=&gt; void</code> is the thing that confuses me, but is someone could explain the entire method, and how to think about it, it would be nice.</p>