kionell / osu-parsers

A bundle of decoders/encoders for osu! file formats based on the osu!lazer source code.
MIT License
38 stars 8 forks source link

Fix: adjust package.json exports to be resolvable by newer typescript compiler versions #28

Open minetoblend opened 5 months ago

minetoblend commented 5 months ago

Ran into the issue of tsc (typescript 5.2.2) as well as vscode not being able to resolve the types due to the exports field not matching what the compiler expects. I plan to pr the same fix for the other packages as well if this gets accepted. I'm not sure if this breaks anything for old typescript versions but confirmed that this works when installing the package locally when using typescript 5.2.2.