Vestride / Shuffle

Categorize, sort, and filter a responsive grid of items
https://shuffle.js.org
MIT License
2.38k stars 281 forks source link

Fix missing types when resolving from exports field in package.json #561

Closed Schleuse closed 9 months ago

Schleuse commented 9 months ago

ShuffleJs is missing Typescript types when using modern node export fields. This happens for example when using moduleResolution: bunlder in tsconfig.json

image

This PR adds types to the exports declaration in package.json.

For more information about this, see here:

https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-7.html#packagejson-exports-imports-and-self-referencing

Vestride commented 9 months ago

Published as 6.1.1