News for hackers. Stuff that matters.
Re:Type Checking in JavaScript by spion on Wednesday November 06, 2013 @11:18AM (#6683427)
Typescript has its own issues:

  interface IA { }
  interface IB { foo(): void; }
   
  function fn(passedFn: (a: IA) => void) {
    passedFn({}); 
  }
 
  // compiles but throws TypeError at runtime!
  fn((b: IB) => b.foo());

There are no comments on this comment yet.