Closed doinkythederp closed 10 months ago
Sorry to be so late back to this @doinkythederp. I used TypeScript's recommendation preference on how to expose types, not via "exports"
but via just a "type"
property directly.
https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html
I'd ask you more information about your environment, but @patricklizon actually already opened a PR for the issue and linked the Webpack docs describing this preference.
New version released, closing out. Feel free to reopen if you're still having problems.
TypeScript cannot load this library's type definitions, with the following error: