Type definitions in the NPM package
Feature request for official type definitions, ideally packaged in the NPM distribution.
This came up two years ago in https://github.com/goldfire/howler.js/issues/584 and was rejected but since then TypeScript and Flow have taken off.
Does the @types/howler library not work? https://www.npmjs.com/package/@types/howler
Yes for Typescript and no for Flow.
I hadn't seen that @types/howler package but I assume it works well for TypeScript. It would be nice to have those managed in the howler package itself, but not a big deal.
However, there are no types for Flow. So I'd still like to advocate for official type defs in this repo, perhaps that generated by def styles.
I added native TypeScript definition exports while I refactored the core modules to native ESM today.
Check it out and please help out if you also want to see this in production! :)
#1518