title: Namespaces for interfaces in typescript definition file
body: <p>I am writing a TypeScript definition file (.d.ts) for a JS library that doesn't currently have one.</p>
  
  <p>Other .d.ts file seem to put all the types into the 'global' namespace (if you see what I mean), whereas I am trying do the following:</p>
  
  <pre><code>// root valerie object 
  //
  declare var valerie: Valerie.ValerieStatic;
  
  // additional types for Valerie (all inside this virtual namespace)
  
  declare module Valerie {
  
      //
      // Static methods on valerie namespace
      //
      interface ValerieStatic {
          // definitions go here.....
  </code></pre>
  
  <p>This means that I don't potentially get my interfaces crossed with others should they exist.</p>
  
  <p>My question is - it seems to work, but is there a possible problem with this approach?</p>