title: Multiple custom Svelte stores in one single file
body: <p>I need to have multiples svelte store in one single JS file. But the current syntax doesn't easily allow me to do so.</p>
  <pre><code>var store1
  const {subscribe, set, update} = writable(store1)
  export const Store1 = {
      subscribe,
      function1:function1(),
      function2:function2()
  }
  
  var store2
  const {subscribe, set, update} = writable(store2)
  export const Store2 = {
     subscribe,
     function3:function3(),
     function4:function4()
  }
  </code></pre>
  <p>The problem is I have two &quot;subscribe&quot;, &quot;set&quot; and &quot;update&quot; declared because of this line :</p>
  <pre><code>const {subscribe, set, update} = writable()
  </code></pre>
  <p>But I can't give them a different name because they don't exist in &quot;writable&quot;.</p>