Open Zandor300 opened 5 months ago
The module is build against serialport version "serialport": "^7.1.5"
see package.json.
@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:
npm install serialport@9
npm i --save-dev @types/serialport
Have you checked adding this to the package.json?
Receiving the following error if I want to build using Typescript. Before I was just running the plain Javascript.