title: How to specify default export and same non-default export non-redundantly?
body: <p>I currently export from a file <code>a.ts</code> like follows:</p>
  <pre><code>const a = 3;
  const b = 'xyz';
  const c = false;
  type D = null | undefined;
  export {
    a,
    b,
    c,
    type D,
  };
  export default {
    a,
    b,
    c,
  }; // Note that this is an object {a: a, b: b, c: c}; cannot export D here
  </code></pre>
  <p>and I want to import it in a file <code>b.ts</code> (in the same directory) as follows:</p>
  <pre><code>import x from './a';
  import * as y from './a';
  import {c, type D} from './a';
  const a = x.a;
  const b = y.b;
  </code></pre>
  <p>This all works as intended. The only problem is that I have to specify the non-default exports and the default export twice although they are identical at value level (not sure about what to do with <code>type D</code> though). In my real case, there are not four variables <code>a</code>, <code>b</code>, <code>c</code>, <code>D</code> but dozens of them and also not a single file <code>a.ts</code> but dozens of files with this structure, making maintainance difficult. So, is there a way to get of the redundancy?</p>