Closed atomicpages closed 3 months ago
Latest commit: 51eaeb795f22b7bf20acb120dac36555a5cc300a
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Hey, thanks for the PR, but this is already working as intended. Adding "types"
under "exports"
does not change anything, and I don’t intend to support Node.js or TypeScript configurations that need top-level "main"
or "types"
. All the types are already exposed to anyone using correct, up to date tsconfig settings. Here's an example showing it working: https://www.typescriptlang.org/play/?target=99&moduleResolution=99&module=200#code/JYWwDg9gTgLgBAbzgBQIYGMDWqDmBTAGjgEEA7VAGwE8BnYGuAXzgDMoIQ4AiAAVSjwwAFoKpg8NAO7tSOAPTpoeLgG4AUGtJ5JKDNnwAKBIyJcWECF1MBGAHQAmWwGYuASnUATPOgr88cCkE4VAAuEnJqOhp1VFswdgAjQJAaAG0ABgBdW0xgUg8VIA
Addresses #175. Did a sanity check using the CLI and the exports are still happy: