-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Issue
Upon importing the package in a next.js typescript enviornment an error saying "Could not find a declaration file for module '@idscan/idvc2' " is thrown.
Steps to Reproduce
- Install the dependency using npm
- Copy the demo component and add in your keys
- load the component
Error
It looks like when compiling the typescript module, webpack is pasting the library code on top of the transpiled next.js page, and hence its throwing such errors
Metadata
Metadata
Assignees
Labels
No labels
