Is there any workaround for <KT-37710> aside from ...
# javascript
a
Is there any workaround for KT-37710 aside from manually exporting all the classes? I'm trying to export definitions in the global namespace but none of the things I tried seems to work.
t
Do you have single package for export?
a
Yes
t
What about library.export?
a
Not sure I set it up correctly, it doesn't look to make any difference on the generated TypeScript definitions
Any working exemple?
What I have right now:
Copy code
module.exports = {
  output: {
    library: {
      name: 'my-library',
      type: 'var',
      export: 'default',
    },
  },
};
🥺 🙏