You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
This library is not usable with PNPM & Yarn when using TypeScript. Once the library installed with one of the latter, the type definition are not found, even though they are distributed in the package when installed.
To Reproduce
Steps to reproduce the behavior:
Go through the quick start, only replace npm with either yarn or pnpm
Open up VSCode
See that the type definitions can't be found
Expected behavior
There should be no type errors when using this library with TypeScript.
Screenshots
None.
Environment (please complete the following information):
Operating System: [e.g. Windows 10]: Linux archlinux 6.1.30-1-lts Cleaner package example #1 SMP PREEMPT_DYNAMIC Wed, 24 May 2023 17:18:57 +0000 x86_64 GNU/Linux
Browser [e.g. Chrome 108]: Chrome 114
Node [e.g. 18.0.0]: 19.0.0
Package Manager [e.g. NPM 8.2.9]: 8.19.2
Package Version [e.g. 0.1.0]: 0.6.0
Additional context
This is probably due to the exports Node.js's NPM property not being accounted properly by either yarn nor pnpm.
The text was updated successfully, but these errors were encountered:
Describe the bug
This library is not usable with PNPM & Yarn when using TypeScript. Once the library installed with one of the latter, the type definition are not found, even though they are distributed in the package when installed.
To Reproduce
Steps to reproduce the behavior:
npm
with eitheryarn
orpnpm
Expected behavior
There should be no type errors when using this library with TypeScript.
Screenshots
None.
Environment (please complete the following information):
Additional context
This is probably due to the
exports
Node.js's NPM property not being accounted properly by eitheryarn
norpnpm
.The text was updated successfully, but these errors were encountered: