title: Unable to get socket.io to start on the client side
body: <p>I'm trying to get socket.io to start on the client side that uses JQuery and typescript, but I'm unable to do so. I got the Typescript definition for socket.io from here. (The one updated yesterday.)</p>
  
  <p><a href="https://github.com/borisyankov/DefinitelyTyped/blob/master/socket.io/socket.io.d.ts" rel="nofollow">https://github.com/borisyankov/DefinitelyTyped/blob/master/socket.io/socket.io.d.ts</a></p>
  
  <p>Here's the code:</p>
  
  <pre><code>var socket:Socket = io.connect('http://localhost');
  </code></pre>
  
  <p>Here's the error I'm getting in the console.</p>
  
  <pre><code>Uncaught ReferenceError: io is not defined Start.ts:48
  socketTest Start.ts:48
  start Start.ts:11
  (anonymous function) config.ts:24
  i.execCb require.js:29
  X.check require.js:18
  (anonymous function) require.js:23
  (anonymous function) require.js:8
  (anonymous function) require.js:23
  y require.js:7
  X.emit require.js:23
  X.check require.js:19
  X.enable require.js:23
  X.init require.js:17
  D require.js:14
  i.completeLoad require.js:28
  i.onScriptLoad
  </code></pre>
  
  <p>--Update-- 
  The .ts file loading problem I mentioned earlier is now solved.</p>