npm install --save @types/web-serial
This package contains type definitions for w3c-web-serial (https://wicg.github.io/serial).
This project was forked from:
https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/w3c-web-serial
These original definitions were written by Reilly Grant.