Import not working.
I've tried to implement Abdullah Yahyas & Rahul Haques answer, but my lpf import isn't working. It says:
Could not find a declaration file for module 'lpf'. './lpf/lib/index.js' implicitly has an 'any' type.
Can someone help?
I have the same issue, did you manage to find a fix?
Thanks for reporting this! I've opened a pull request to address the issue: #3
The error you're encountering is caused by missing TypeScript declaration files for the lpf module. This PR adds the necessary .d.ts type definitions and updates the package exports so TypeScript can properly resolve the imports without the any type warning.
Let me know if you have any questions or run into other issues. Thanks for your patience!