Closed DavraYoung closed 1 year ago
I'm currently importing PeaksInstance
into a TypeScript Angular app (code), so how is this working but without export
? What problem did this change fix for you?
@chrisn hi. idk why in your case it works as expected. Probably different tsconfig or typescript version, but in my react project typescript resolves this as any and states that PeaksInstance cannot be found in the module. I fixed it by patching the package
Hi! Thanks, that's curious, I'd be interested to know how it worked without export
.
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch
peaks.js@2.1.0
for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.