I'm trying to use the Delimiter parser in a typescript project
tsc complain about missing declaration files :"Could not find a declaration file for module '@serialport/parser-delimiter'. "
As I specified "@types/serialport" in the package.json, and because it looks like te definitions of the parsers are present, I expect that tsc would be happy
Code to Reproduce the Issue
import SerialPort from 'serialport';
import Delimiter from '@serialport/parser-delimiter';
Complete error message:
Could not find a declaration file for module '@serialport/parser-delimiter'. '/home/tsi/Projects/userfriendly/wow/wow-git/apps/server/node_modules/@serialport/parser-delimiter/lib/index.js' implicitly has an 'any' type.
Versions, Operating System and Hardware
SerialPort@9.0.2
Node.js v14.8.0
Linux
Hardware and chipset? doesn't matter at this point ;-)
Summary of Problem
Code to Reproduce the Issue
Complete error message:
Versions, Operating System and Hardware