Closed Arjun021 closed 2 years ago
Thanks for reporting this. The problem seems to be with the TypeScript declarations. As a workaround, you can go into node_modules/peaks.js/package.json
and delete the "types"
line. You can then use:
import Peaks from 'peaks.js';
I'm not sure what the root cause is yet...
Please try updating Peaks.js to v2.0.5, does this change fix your issue?
@chrisn Yes it's working fine now. Thanks for the quick help. :)
Thanks!
I am trying to integrate Peaks.js library in my Angular Project but the same error is coming:
export 'init' (imported as 'Peaks') was not found in 'peaks.js' (possible exports: default)
I followed the steps as per document only.
.ts file
.HTML file
I tried everything but no luck. Please let me know if anyone has any solution for this
@chrisn