-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build using Typescript error: Cannot use namespace 'SerialPort' as a type. #342
Comments
The module is build against serialport version |
@stefanpoeter I use it with serialport v12 and it works fine, only the exact types used are incorrect when building using Typescript. |
That sounds like incompatibilties. If you want to port I am happy for any PR. As said it is compatible to 7.1.5. |
This seems to work around the compiling issue in TypeScript:
|
Have you checked adding this to the package.json? |
Both the |
Receiving the following error if I want to build using Typescript. Before I was just running the plain Javascript.
The text was updated successfully, but these errors were encountered: