title: In VSCode when exporting functions: "Individual declarations must be all exported or all local"
body: <p>I recently upgraded to Visual Studio Code 0.5.0 and some new errors cropped up that weren't there before.</p>
  
  <p>I have a bunch of functions that are declared locally and then exported. Since the upgrade, however, hovering over each of the local function names produces the error <strong>Individual declarations in merged declaration <em>functionName</em> must be all exported or all local.</strong></p>
  
  <p>This is an example local function that is exported. </p>
  
  <pre><code>var testParamsCreatorUpdater = function (lTestParams, creatorID){
      lTestParams.creator = creatorID;
      return lTestParams;
  };
  module.exports.testParamsCreatorUpdater = testParamsCreatorUpdater;
  </code></pre>
  
  <p>I realize I can change this to...</p>
  
  <pre><code>module.exports.testParamsCreatorUpdater = function (lTestParams, creatorID){
      lTestParams.creator = creatorID;
      return lTestParams;
  };
  </code></pre>
  
  <p>And prepend <strong>module.exports.</strong> to every <strong>testParamsCreatorUpdater()</strong> call.</p>
  
  <p>But why is the first snippet wrong? As I understand it, require() makes everything in the module.exports object available to whatever required it. </p>