Open raymondwjang opened 4 weeks ago
Hi, thanks for reporting this. Could you please provide a git repo or a GitHub workspace that can reproduce this?
Errors like error TS2304: Cannot find name 'WeakRef'.
might indicate that you are on a lower version of the TS server, or you have not configured it as expected. Could try:
tsconfig
of the project, e.g. compilerOptions
> lib
.
Hello,
I'd love to incorporate this package into my project, but I'm having trouble implementing it. I installed it with
npm install zotero-plugin-toolkit
, confirmed its version (zotero-plugin-toolkit@4.0.7
), and imported it like below:Now, when I try to build the package with the import statement, I'm met with a long list of type incompatibility error stack trace that involves both
react
andzotero-plugin-toolkit
.This issue disappears if the
zotero-plugin-toolkit
import statement is removed.Would it be possible to get support on this?
My react version is 18.3.1.