title: TypeScript interface type checking from the beginning tutorial
body: <p>I've just started learning TypeScript and I'm having a hard time wrapping my head around an interface behavior from the beginning tutorial on <a href="http://www.typescriptlang.org/Playground/#tut=ex5" rel="nofollow">http://www.typescriptlang.org/Playground/#tut=ex5</a></p>
  
  <p>As I understand it, the interface should enforce the type of the parameters, however this particular line throws me off</p>
  
  <pre><code>var user = new Student("Jane", "M.", "User");
  </code></pre>
  
  <p>It compiles correctly and all is well, but when I modify it to </p>
  
  <pre><code>var user = new Student(1, 2, 3);
  </code></pre>
  
  <p>it also compiles just fine.</p>
  
  <p>Could anyone elaborate why it's working ?</p>
  
  <p>I understand that this is a beginners question but I could not find any info on this searching online and I don't have any TypeScript experts around me.</p>
  
  <p>Thanks in advance,
  Eugene</p>