title: LDAP-Server using ldapjs on TypeScript
body: <p>I want to host an LDAP Server using <a href="http://ldapjs.org/index.html" rel="nofollow noreferrer">ldapjs</a>. Sadly there is no documentation for TypeScript yet. So I found the typings in <code>@types/nodejs</code> but there are no server methods present:</p>
  
  <pre><code>import ldap = require('ldapjs')
  let server = ldap.createServer()
  </code></pre>
  
  <p>This gives me an error in VS Code that no method called <code>createServer</code> is present. Only <code>createClient</code> is showing. Also the <code>index.d.ts</code> from the Typings package contains only a <code>Client</code> interface: </p>
  
  <p><code>export interface Client extends EventEmitter { // ...</code></p>
  
  <p>How can I get the correct Typings for server usage? </p>